diff --git a/src/com/android/settings/applications/AppStateAppOpsBridge.java b/src/com/android/settings/applications/AppStateAppOpsBridge.java old mode 100644 new mode 100755 index cfbb2fcfc8f..c74699f4b94 --- a/src/com/android/settings/applications/AppStateAppOpsBridge.java +++ b/src/com/android/settings/applications/AppStateAppOpsBridge.java @@ -187,7 +187,11 @@ public abstract class AppStateAppOpsBridge extends AppStateBaseBridge { * PermissionState, which describes a particular package. */ private void loadPermissionsStates(SparseArray> entries) { - // Load the packages that have been granted the permission specified in mPermission. + // Load the packages that have been granted the permission specified in mPermission. + if (entries == null) { + return; + } + try { for (final UserHandle profile : mProfiles) { final int profileId = profile.getIdentifier();