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

Commit 066aefbe authored by Stanislav Zholnin's avatar Stanislav Zholnin
Browse files

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