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

Commit 5a293b8e authored by Nandana Dutt's avatar Nandana Dutt
Browse files

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
parent 1c2a704f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();