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

Commit a2ce0e63 authored by Svet Ganov's avatar Svet Ganov Committed by android-build-merger
Browse files

Merge "Don't throw but wtf to help chase mismatched start/finish op calls" into pi-dev

am: 2cd6ce5e

Change-Id: I5ce3834f3409a2b7592e49789e0f74b7ad53633d
parents ae0dbf5e 2cd6ce5e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1346,8 +1346,9 @@ public class AppOpsService extends IAppOpsService.Stub {
                return;
            }
            if (!client.mStartedOps.remove(op)) {
                throw new IllegalStateException("Operation not started: uid" + op.uid
                Slog.wtf(TAG, "Operation not started: uid" + op.uid
                        + " pkg=" + op.packageName + " op=" + op.op);
                return;
            }
            finishOperationLocked(op, /*finishNested*/ false);
            if (op.nesting <= 0) {