Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 62bb1e75 authored by Jian Zhou's avatar Jian Zhou Committed by android-build-merger
Browse files

Merge "Settings: Fix SparseArray null pointer issue in monkey issues" am: 41b4d908 am: 3aee5e1a

am: 86535a3d

Change-Id: Ia6f34a3cf6e9b64669ca494c5088791ae5021092
parents 775c1c8e 86535a3d
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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();