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

Commit cb447126 authored by Nandana Dutt's avatar Nandana Dutt
Browse files

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: I65c71c404bd09fec5849d3e9e7a8cfafe6631a63
(cherry picked from commit 5a293b8e)
parent b15fc064
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 = true;

    private final Object mLock = new Object();