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

Commit 55033848 authored by Manjeet Rulhania's avatar Manjeet Rulhania
Browse files

Add flag to short circuit permission request

Permanently denied permissions can be short circuited in
app itself to improve performance.

Bug: 378923900
Change-Id: Ie52d1c784263fff95bcf4f0f57fabd8b386c50e6
Test: build
Flag: android.permission.flags.permission_request_short_circuit_enabled
parent d3550625
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -400,3 +400,12 @@ flag {
    description: "This flag is used to enable all the remaining permissions required to the supervision role"
    bug: "367333883"
}

flag {
    name: "permission_request_short_circuit_enabled"
    is_fixed_read_only: true
    is_exported: true
    namespace: "permissions"
    description: "This flag is used to short circuit the request for permananently denied permissions"
    bug: "378923900"
}