From 60e1469c580ab70d8f904e715e3a6d1316cabf66 Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Tue, 19 May 2020 09:15:46 -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: If68f08a8e4ffb7518f923108236e2635ea2b8bcd --- .../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 72cdf4afb0078..15b6a8df0151e 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;