From 6ab7f6e7a4ff180cd759c7b6c1e5c525587d3f31 Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Fri, 29 May 2020 15:05:10 -0600 Subject: [PATCH] Flip ENABLE_DYNAMIC_PERMISSIONS. 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: I26347e24e156824a14d7bf86b602656f85426833 --- .../java/com/android/server/uri/UriGrantsManagerService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/core/java/com/android/server/uri/UriGrantsManagerService.java b/services/core/java/com/android/server/uri/UriGrantsManagerService.java index 9476e9260c73f..3796c5fda411b 100644 --- a/services/core/java/com/android/server/uri/UriGrantsManagerService.java +++ b/services/core/java/com/android/server/uri/UriGrantsManagerService.java @@ -114,7 +114,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;