Default grant SMS and Phone to the verifier
bug:24012164 Change-Id: I756644c8044076b2550d7ca104f542f50da0226b
This commit is contained in:
@@ -245,6 +245,8 @@ final class DefaultPermissionGrantPolicy {
|
|||||||
if (verifierPackage != null
|
if (verifierPackage != null
|
||||||
&& doesPackageSupportRuntimePermissions(verifierPackage)) {
|
&& doesPackageSupportRuntimePermissions(verifierPackage)) {
|
||||||
grantRuntimePermissionsLPw(verifierPackage, STORAGE_PERMISSIONS, true, userId);
|
grantRuntimePermissionsLPw(verifierPackage, STORAGE_PERMISSIONS, true, userId);
|
||||||
|
grantRuntimePermissionsLPw(verifierPackage, PHONE_PERMISSIONS, false, userId);
|
||||||
|
grantRuntimePermissionsLPw(verifierPackage, SMS_PERMISSIONS, false, userId);
|
||||||
}
|
}
|
||||||
|
|
||||||
// SetupWizard
|
// SetupWizard
|
||||||
|
|||||||
Reference in New Issue
Block a user