summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Stanislav Zholnin <zholnin@google.com> 2019-10-17 18:40:33 +0100
committer Stanislav Zholnin <zholnin@google.com> 2019-10-17 18:40:33 +0100
commit066aefbef9027dc0c393007a8646e54e20410684 (patch)
treef6dd8dac764a1e9ba04755333ddadd347119e905
parent790ac66e944c4f4efe43397803ab48644eb1e2ee (diff)
Add logging of one time permissions to PermissionGrantRequestResultReported atom.
Test: make statsd_testdrive && ./out/host/linux-x86/bin/statsd_testdrive -p com.google.android.permissioncontroller 170 Change-Id: Ib23d657a33aa2884c2679d9f3638278502688b3c
-rw-r--r--cmds/statsd/src/atoms.proto2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmds/statsd/src/atoms.proto b/cmds/statsd/src/atoms.proto
index 6249de3d3bac..8618d4ded817 100644
--- a/cmds/statsd/src/atoms.proto
+++ b/cmds/statsd/src/atoms.proto
@@ -5760,6 +5760,8 @@ message PermissionGrantRequestResultReported {
AUTO_DENIED = 8;
// permission request was ignored because permission is restricted
IGNORED_RESTRICTED_PERMISSION = 9;
+ // one time permission was granted by user action
+ USER_GRANTED_ONE_TIME = 10;
}
// The result of the permission grant
optional Result result = 6;