BinaryTransparencyService: change params to FrameworkStatsLog.write
Due to the extension of the definition of the ApexInfoGathered atom, we are changing the params to `FrameworkStatsLog.write()` to match the atom definition. Bug: 245944675 Test: Manual. Change-Id: If5a2df21ecb13d0bc34b70116cc133ef823a642a
This commit is contained in:
@@ -685,7 +685,9 @@ public class BinaryTransparencyService extends SystemService {
|
||||
FrameworkStatsLog.write(FrameworkStatsLog.APEX_INFO_GATHERED,
|
||||
packageInfo.packageName,
|
||||
packageInfo.getLongVersionCode(),
|
||||
mBinaryHashes.get(packageInfo.packageName));
|
||||
mBinaryHashes.get(packageInfo.packageName),
|
||||
4, // indicating that the digest is SHA256
|
||||
null); // TODO: This is to comform to the extended schema.
|
||||
}
|
||||
}
|
||||
} catch (PackageManager.NameNotFoundException e) {
|
||||
|
||||
Reference in New Issue
Block a user