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
This commit is contained in:
Summer Jiang
2019-06-19 16:12:38 -07:00
parent ec3ba99e95
commit a652e2715f

View File

@@ -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);
}