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

Commit bc05190c authored by Katsiaryna Naliuka's avatar Katsiaryna Naliuka
Browse files

Grant storage permission to the content capture service.

This unblocks dogfooding of go/image-aware-sharesheet. The feature is currently experimental, so the change will be rolled back if it doesn't graduate to production before R is cut (tracked in b/143339485).

Bug: 147206065
Test: dumpsys package
Change-Id: If960a412cb5f603348e99b1878897147caf3a1f5
parent 2ebe60b5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -733,7 +733,7 @@ public final class DefaultPermissionGrantPolicy {
        if (!TextUtils.isEmpty(contentCapturePackageName)) {
            grantPermissionsToSystemPackage(contentCapturePackageName, userId,
                    PHONE_PERMISSIONS, SMS_PERMISSIONS, ALWAYS_LOCATION_PERMISSIONS,
                    CONTACTS_PERMISSIONS);
                    CONTACTS_PERMISSIONS, STORAGE_PERMISSIONS);
        }

        // Atthention Service