Merge "Default grant mic, storage, camera to SMS app" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
422a83de2c
@@ -724,6 +724,9 @@ final class DefaultPermissionGrantPolicy {
|
||||
grantRuntimePermissionsLPw(smsPackage, PHONE_PERMISSIONS, userId);
|
||||
grantRuntimePermissionsLPw(smsPackage, CONTACTS_PERMISSIONS, userId);
|
||||
grantRuntimePermissionsLPw(smsPackage, SMS_PERMISSIONS, userId);
|
||||
grantRuntimePermissionsLPw(smsPackage, STORAGE_PERMISSIONS, userId);
|
||||
grantRuntimePermissionsLPw(smsPackage, MICROPHONE_PERMISSIONS, userId);
|
||||
grantRuntimePermissionsLPw(smsPackage, CAMERA_PERMISSIONS, userId);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -737,6 +740,9 @@ final class DefaultPermissionGrantPolicy {
|
||||
grantRuntimePermissionsLPw(smsPackage, PHONE_PERMISSIONS, false, true, userId);
|
||||
grantRuntimePermissionsLPw(smsPackage, CONTACTS_PERMISSIONS, false, true, userId);
|
||||
grantRuntimePermissionsLPw(smsPackage, SMS_PERMISSIONS, false, true, userId);
|
||||
grantRuntimePermissionsLPw(smsPackage, STORAGE_PERMISSIONS, false, true, userId);
|
||||
grantRuntimePermissionsLPw(smsPackage, MICROPHONE_PERMISSIONS, false, true, userId);
|
||||
grantRuntimePermissionsLPw(smsPackage, CAMERA_PERMISSIONS, false, true, userId);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user