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

Commit c2d23e80 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

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

Change-Id: I676cb249d070e6b6474e6258547a7d9e5923d6a3
parents 65466ff1 b19aa988
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--) {