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

Commit 73fb7e16 authored by Victor Hsieh's avatar Victor Hsieh Committed by Android (Google) Code Review
Browse files

Merge "Write with splitName in BinaryTransparencyService"

parents 886ce426 01e3b92c
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
@@ -469,6 +469,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,
@@ -479,6 +480,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,
@@ -490,7 +492,8 @@ public class BinaryTransparencyService extends SystemService {
                    appInfo.initiator,
                    appInfo.initiatorSignerDigests,
                    appInfo.installer,
                    appInfo.originator);
                    appInfo.originator,
                    appInfo.splitName);
        }

        /**