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

Commit 5968dcb6 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊 Committed by Nishith Khanna
Browse files

base: Grant /e/ Drive storage permission

parent c8ff24c3
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -587,6 +587,11 @@ public final class DefaultPermissionGrantPolicy {
                        DownloadManager.ACTION_VIEW_DOWNLOADS, userId),
                userId, STORAGE_PERMISSIONS);

        // /e/ Drive
        grantSystemFixedPermissionsToSystemPackage(pm,
                "foundation.e.drive", userId,
                STORAGE_PERMISSIONS);

        // Storage provider
        grantSystemFixedPermissionsToSystemPackage(pm,
                getDefaultProviderAuthorityPackage("com.android.externalstorage.documents", userId),