DO NOT MERGE: Remove storage grant to the content capture service.

In ag/10396239, we grant storage permission for alai experimental
feature(go/image-aware-sharesheet), we remove this grant before R
is cut.

Fixes: 143339485
Test: dumpsys package
Change-Id: Ie75ddacbd498b0dc32ff309f20b602f81f4f0fbc
This commit is contained in:
Joanne Chung
2020-04-30 16:06:01 +08:00
parent 18f643d4f2
commit 97c5c02260

View File

@@ -719,7 +719,7 @@ public final class DefaultPermissionGrantPolicy {
if (!TextUtils.isEmpty(contentCapturePackageName)) {
grantPermissionsToSystemPackage(contentCapturePackageName, userId,
PHONE_PERMISSIONS, SMS_PERMISSIONS, ALWAYS_LOCATION_PERMISSIONS,
CONTACTS_PERMISSIONS, STORAGE_PERMISSIONS);
CONTACTS_PERMISSIONS);
}
// Atthention Service