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