Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8fde4fb4 authored by Stanislav Zholnin's avatar Stanislav Zholnin
Browse files

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
parent 1c5a4c6d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;