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
This commit is contained in:
Katsiaryna Naliuka
2020-02-18 21:21:23 +01:00
parent 2ebe60b5df
commit bc05190cd2

View File

@@ -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