Give fixed READ_PHONE_STATE permission to calllog provider
Calllog provider lives in the same APK as contacts provider. Bug 22300894 Bug 22297735 Change-Id: I77f3ee18f093b5adb819308c113062c490a3b54b
This commit is contained in:
@@ -429,6 +429,8 @@ final class DefaultPermissionGrantPolicy {
|
||||
if (contactsProviderPackage != null) {
|
||||
grantRuntimePermissionsLPw(contactsProviderPackage, CONTACTS_PERMISSIONS,
|
||||
true, userId);
|
||||
grantRuntimePermissionsLPw(contactsProviderPackage, PHONE_PERMISSIONS,
|
||||
true, userId);
|
||||
grantRuntimePermissionsLPw(contactsProviderPackage, ACCOUNTS_PERMISSIONS, userId);
|
||||
grantRuntimePermissionsLPw(contactsProviderPackage, STORAGE_PERMISSIONS, userId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user