diff options
| author | 2020-01-29 14:48:11 +0000 | |
|---|---|---|
| committer | 2020-02-02 14:29:00 +0000 | |
| commit | a07e0252f995700e67dcbb37b9ad5a301b8ac69a (patch) | |
| tree | af3184c31dc41a3392975aa248ee0fb6d044bdd6 | |
| parent | a7050d47bd2e3198184f2af4568677707c39d4d1 (diff) | |
Change operation id from integer to string representation
Atom was never used before.
Test: Can't be tested on its own.
Change-Id: I9b62e82fdca22da36169fe684de598c0f5126d07
| -rw-r--r-- | cmds/statsd/src/atoms.proto | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cmds/statsd/src/atoms.proto b/cmds/statsd/src/atoms.proto index 12058cae1a2a..727a13168262 100644 --- a/cmds/statsd/src/atoms.proto +++ b/cmds/statsd/src/atoms.proto @@ -466,8 +466,8 @@ message Atom { DangerousPermissionStateSampled dangerous_permission_state_sampled = 10067 [(module) = "framework"]; GraphicsStats graphics_stats = 10068; - RuntimeAppOpsAccess runtime_app_ops_access = 10069; - IonHeapSize ion_heap_size = 10070 [(module) = "framework"]; + RuntimeAppOpAccess runtime_app_op_access = 10069 [(module) = "framework"]; + IonHeapSize ion_heap_size = 10070; } // DO NOT USE field numbers above 100,000 in AOSP. @@ -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. |