diff options
author | Amith Yamasani <yamasani@google.com> | 2015-07-06 09:24:08 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2015-07-06 09:24:08 -0700 |
commit | a72eac60c7a34089c8e288f03ce031172e3b36b4 (patch) | |
tree | b5f50a127a157f1bee43a97addd6da73cecd50a7 | |
parent | 401aa9d807bdc568f26cd40bfc96d26449267678 (diff) | |
download | frameworks_base-a72eac60c7a34089c8e288f03ce031172e3b36b4.zip frameworks_base-a72eac60c7a34089c8e288f03ce031172e3b36b4.tar.gz frameworks_base-a72eac60c7a34089c8e288f03ce031172e3b36b4.tar.bz2 |
Fix a typo causing NPE in restricted profiles
Bug: 22287398
Change-Id: Iec19d890c7b0b7ffed3381dc3f5a9b3e761362a7
-rw-r--r-- | services/core/java/com/android/server/pm/DefaultPermissionGrantPolicy.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/pm/DefaultPermissionGrantPolicy.java b/services/core/java/com/android/server/pm/DefaultPermissionGrantPolicy.java index 8678d9a..453f123 100644 --- a/services/core/java/com/android/server/pm/DefaultPermissionGrantPolicy.java +++ b/services/core/java/com/android/server/pm/DefaultPermissionGrantPolicy.java @@ -440,7 +440,7 @@ final class DefaultPermissionGrantPolicy { getDefaultSystemHandlerActivityPackageLPr(deviceProvisionIntent, userId); if (deviceProvisionPackage != null && doesPackageSupportRuntimePermissions(deviceProvisionPackage)) { - grantRuntimePermissionsLPw(contactsPackage, ACCOUNTS_PERMISSIONS, userId); + grantRuntimePermissionsLPw(deviceProvisionPackage, ACCOUNTS_PERMISSIONS, userId); } // Maps |