Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01e3b92c authored by Victor Hsieh's avatar Victor Hsieh
Browse files

Write with splitName in BinaryTransparencyService

This is just for consistency with the atom change, for now.

Bug: 264296226
Test: TODO
Change-Id: I47f39cb4a2c7bb522ab7c80aff1f2986bc040563
parent c76e3b50
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -41,6 +41,7 @@ interface IBinaryTransparencyService {
    parcelable AppInfo {
        String packageName;
        long longVersion;
        String splitName;
        byte[] digest;
        int digestAlgorithm;
        String[] signerDigests;
+4 −1
Original line number Diff line number Diff line
@@ -405,6 +405,7 @@ public class BinaryTransparencyService extends SystemService {
        }

        private void recordApexInfo(IBinaryTransparencyService.ApexInfo apexInfo) {
            // Must order by the proto's field number.
            FrameworkStatsLog.write(FrameworkStatsLog.APEX_INFO_GATHERED,
                    apexInfo.packageName,
                    apexInfo.longVersion,
@@ -415,6 +416,7 @@ public class BinaryTransparencyService extends SystemService {
        }

        private void writeAppInfoToLog(IBinaryTransparencyService.AppInfo appInfo) {
            // Must order by the proto's field number.
            FrameworkStatsLog.write(FrameworkStatsLog.MOBILE_BUNDLED_APP_INFO_GATHERED,
                    appInfo.packageName,
                    appInfo.longVersion,
@@ -426,7 +428,8 @@ public class BinaryTransparencyService extends SystemService {
                    appInfo.initiator,
                    appInfo.initiatorSignerDigests,
                    appInfo.installer,
                    appInfo.originator);
                    appInfo.originator,
                    appInfo.splitName);
        }

        /**