diff options
| author | 2020-07-09 08:36:14 +0000 | |
|---|---|---|
| committer | 2020-07-09 12:10:51 +0000 | |
| commit | 5a293b8eb2f0a57ee5b523872329f5e1378dc05e (patch) | |
| tree | 0602ea465cdfa78adefbd0b769788f8f283eadbf | |
| parent | 1c2a704f10e5782cdb121ebe492bfab6dec7afe0 (diff) | |
DO NOT MERGE Bump up the max persisted uri grants
With scoped storage, more apps will need to rely on
SAF to get access to non-media files. Allow more grants
by bumping up the limit to 512.
BUG: 149370983
Test: m
Change-Id: I26ae0ff660ecfb846a06fca00de7c1ad41ace2b2
| -rw-r--r-- | services/core/java/com/android/server/uri/UriGrantsManagerService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/uri/UriGrantsManagerService.java b/services/core/java/com/android/server/uri/UriGrantsManagerService.java index c38d649ada9b..4b3ddd856c61 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 boolean DEBUG = false; 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 int MAX_PERSISTED_URI_GRANTS = 512; private static final boolean ENABLE_DYNAMIC_PERMISSIONS = false; private final Object mLock = new Object(); |