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

Commit 781b06a3 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix NPE in AppOpsService." into rvc-dev am: b19aa988 am: c812726b

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11938963

Change-Id: I7400ed9c01712d9eca2def516546d42639320727
parents 85285519 c812726b
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--) {