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 8bf78650b2bb895812f10d52a2a9654a822d652c)
diff --git a/services/core/java/com/android/server/uri/UriGrantsManagerService.java b/services/core/java/com/android/server/uri/UriGrantsManagerService.java
index 8eefd8f..a106dc6 100644
--- a/services/core/java/com/android/server/uri/UriGrantsManagerService.java
+++ b/services/core/java/com/android/server/uri/UriGrantsManagerService.java
@@ -115,7 +115,7 @@
     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;