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

Commit f33bc3f4 authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

base: Grant /e/ Drive storage permission

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


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

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