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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user