summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2020-02-03 22:37:15 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2020-02-03 22:37:15 +0000
commitf47fbd81c44c5c3d42a5b832f42dd66f7b8d0feb (patch)
tree3d3c48d50ad3f84cae3a66b125c790f0a4ed4b2d
parent5e135fe82318c370f4be7d2d552012dc9467a893 (diff)
parent88c6f327a984263497a48f564b0193bd3ad7a3d0 (diff)
Merge "Change operation id from integer to string representation"
-rw-r--r--cmds/statsd/src/atoms.proto8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmds/statsd/src/atoms.proto b/cmds/statsd/src/atoms.proto
index 572ae1095926..af7551d6b3f8 100644
--- a/cmds/statsd/src/atoms.proto
+++ b/cmds/statsd/src/atoms.proto
@@ -466,7 +466,7 @@ message Atom {
DangerousPermissionStateSampled dangerous_permission_state_sampled =
10067 [(module) = "framework"];
GraphicsStats graphics_stats = 10068;
- RuntimeAppOpsAccess runtime_app_ops_access = 10069;
+ RuntimeAppOpAccess runtime_app_op_access = 10069 [(module) = "framework"];
IonHeapSize ion_heap_size = 10070 [(module) = "framework"];
}
@@ -8132,15 +8132,15 @@ message GraphicsStats {
/**
* Message related to dangerous (runtime) app ops access
*/
-message RuntimeAppOpsAccess {
+message RuntimeAppOpAccess {
// Uid of the package accessing app op
optional int32 uid = 1 [(is_uid) = true];
// Name of the package accessing app op
optional string package_name = 2;
- // operation id; maps to the OP_* constants in AppOpsManager.java
- optional int32 op_id = 3;
+ // operation string id per OPSTR_ constants in AppOpsManager.java
+ optional string op = 3;
// feature id; provided by developer when accessing related API, limited at 50 chars by API.
// Features must be provided through manifest using <feature> tag available in R and above.