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

Commit 3b614558 authored by Sahana Rao's avatar Sahana Rao
Browse files

Flip ENABLE_DYNAMIC_PERMISSIONS, attempt #7.

Ib0021d3fd34294bb7497c8827e7ee99d4ac64d73 fixes the app compatibility
issue(b/159995598).

Bug: 115619667
Test: atest ExternalStorageHostTest#testGrantUriPermission
Test: atest ExternalStorageHostTest#testGrantUriPermission29
Merged-In: I413ccf8c31de6525a737c8336a904456fdbeb9e1
Change-Id: I413ccf8c31de6525a737c8336a904456fdbeb9e1
(cherry picked from commit 8bf78650)
parent 6154a49b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -115,7 +115,7 @@ public class UriGrantsManagerService extends IUriGrantsManager.Stub {
    private static final String TAG = "UriGrantsManagerService";
    // Maximum number of persisted Uri grants a package is allowed
    private static final int MAX_PERSISTED_URI_GRANTS = 512;
    private static final boolean ENABLE_DYNAMIC_PERMISSIONS = false;
    private static final boolean ENABLE_DYNAMIC_PERMISSIONS = true;

    private final Object mLock = new Object();
    private final H mH;