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

Commit 46ad42f5 authored by gang.huang's avatar gang.huang
Browse files

Remove unused variable

Test: presubmit
Change-Id: I7f074cda55b084200367fc9d40db2490eb26b3a5
parent 65467677
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2566,7 +2566,6 @@ public class AppOpsService extends IAppOpsService.Stub {

                Map<String, Ops> packages = uidState.pkgOps;
                Iterator<Map.Entry<String, Ops>> it = packages.entrySet().iterator();
                boolean uidChanged = false;
                while (it.hasNext()) {
                    Map.Entry<String, Ops> ent = it.next();
                    String packageName = ent.getKey();
@@ -2599,7 +2598,6 @@ public class AppOpsService extends IAppOpsService.Stub {
                                    newMode,
                                    UserHandle.getUserId(curOp.uid));
                            changed = true;
                            uidChanged = true;
                            final int uid = curOp.uidState.uid;
                            callbacks = addCallbacks(callbacks, curOp.op, uid, packageName,
                                    previousMode, mOpModeWatchers.get(curOp.op));