* commit '276da47adf23b5512985268f36fab0b7d2d11363': Default grant SMS and Phone to the verifier
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