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