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

Commit 1c48bcbe authored by Abhishek Aggarwal's avatar Abhishek Aggarwal
Browse files

Merge branch '2147-s-edrive_perm' into 'v1-s'

base: Grant /e/ Drive storage permission

See merge request e/os/android_frameworks_base!203
parents e1fa76d9 18c3787b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -594,6 +594,11 @@ 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),