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

Commit a652e271 authored by Summer Jiang's avatar Summer Jiang
Browse files

Change dangerous permission log order.

https://cs.corp.google.com/piper///depot/google3/logs/proto/wireless/android/stats/platform/westworld/atoms.proto?rcl=253705450&g=0&l=2989
the items in proto is different from what's in the logs.

Test: tested on device using testdrive (statsd_testdrive 10050)
Change-Id: I886ef4ff8d681b0a7b8aa068171f367122a92e99
Bug: 135637139
parent ec3ba99e
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1983,10 +1983,9 @@ public class StatsCompanionService extends IStatsCompanionService.Stub {
                        e.writeString(permName);
                        e.writeInt(pkg.applicationInfo.uid);
                        e.writeString(pkg.packageName);
                        e.writeInt(permissionFlags);

                        e.writeBoolean((pkg.requestedPermissionsFlags[permNum]
                                & REQUESTED_PERMISSION_GRANTED) != 0);
                        e.writeInt(permissionFlags);

                        pulledData.add(e);
                    }