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:
Svet Ganov
2015-09-15 20:10:30 +00:00
committed by Android Git Automerger

View File

@@ -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