Merge "Settings: Fix SparseArray null pointer issue in monkey issues" am: 41b4d908bb
am: 3aee5e1ad0
Change-Id: I2b3686a91254fd6f0a1050cf8be68304a70a03f5
This commit is contained in:
6
src/com/android/settings/applications/AppStateAppOpsBridge.java
Normal file → Executable file
6
src/com/android/settings/applications/AppStateAppOpsBridge.java
Normal file → Executable file
@@ -197,7 +197,11 @@ public abstract class AppStateAppOpsBridge extends AppStateBaseBridge {
|
||||
* PermissionState, which describes a particular package.
|
||||
*/
|
||||
private void loadPermissionsStates(SparseArray<ArrayMap<String, PermissionState>> 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();
|
||||
|
Reference in New Issue
Block a user