Merge "Settings: Fix SparseArray null pointer issue in monkey issues" am: 41b4d908bb
am: 3aee5e1ad0
am: 86535a3d15
am: 62bb1e75ac
Change-Id: I9dc6da68107514e839b4284a4aeab47f43f745e6
This commit is contained in:
4
src/com/android/settings/applications/AppStateAppOpsBridge.java
Normal file → Executable file
4
src/com/android/settings/applications/AppStateAppOpsBridge.java
Normal file → Executable file
@@ -198,6 +198,10 @@ public abstract class AppStateAppOpsBridge extends AppStateBaseBridge {
|
||||
*/
|
||||
private void loadPermissionsStates(SparseArray<ArrayMap<String, PermissionState>> entries) {
|
||||
// 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