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

Commit 836c7089 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Flip ENABLE_DYNAMIC_PERMISSIONS, attempt #5.

Now that the underlying deadlock should be resolved, we can attempt
to enable the dynamic permissions checking.

Bug: 115619667
Test: atest android.appsecurity.cts.ExternalStorageHostTest
Change-Id: Id0ae1e489efd1df9d89ea7e0454da5fe7bb27ee0
parent a7f0b621
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 = 128;
    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;