From 8fde4fb497902806dec976f2455bb3d97dba7f42 Mon Sep 17 00:00:00 2001 From: Stanislav Zholnin Date: Fri, 6 Dec 2019 19:06:08 +0000 Subject: [PATCH] Add option for situation when user ignores permission dialog (USER_IGNORED). Test: make statsd_testdrive &&./out/host/linux-x86/bin/statsd_testdrive -p com.google.android.permissioncontroller 170 Change-Id: I29b87112e9ecc2b8bf04a82f6bba365f47a2a420 --- 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 b9051daab6aed..dea45a00484c0 100644 --- a/cmds/statsd/src/atoms.proto +++ b/cmds/statsd/src/atoms.proto @@ -5831,6 +5831,8 @@ message PermissionGrantRequestResultReported { IGNORED_RESTRICTED_PERMISSION = 9; // one time permission was granted by user action USER_GRANTED_ONE_TIME = 10; + // user ignored request by leaving the request screen without choosing any option + USER_IGNORED = 11; } // The result of the permission grant optional Result result = 6;