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

Commit b19aa988 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE in AppOpsService." into rvc-dev

parents bd0b819c d2ebc10e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3744,7 +3744,7 @@ public class AppOpsService extends IAppOpsService.Stub {
                    mHandler.sendMessage(PooledLambda.obtainMessage(
                            AppOpsService::notifyOpChangedForAllPkgsInUid,
                            this, code, uidState.uid, true, null));
                } else {
                } else if (uidState.pkgOps != null) {
                    final ArraySet<ModeCallback> callbacks = mOpModeWatchers.get(code);
                    if (callbacks != null) {
                        for (int cbi = callbacks.size() - 1; cbi >= 0; cbi--) {