From 066aefbef9027dc0c393007a8646e54e20410684 Mon Sep 17 00:00:00 2001 From: Stanislav Zholnin Date: Thu, 17 Oct 2019 18:40:33 +0100 Subject: [PATCH] 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 --- cmds/statsd/src/atoms.proto | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmds/statsd/src/atoms.proto b/cmds/statsd/src/atoms.proto index 6249de3d3bac9..8618d4ded8176 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;