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

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

Merge "Fix wrong waitingOnAMSLockEnded()."

parents b5c35c65 dd84ac95
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6112,7 +6112,7 @@ public final class ActiveServices {
            TimeoutRecord timeoutRecord = TimeoutRecord.forServiceStartWithEndTime(annotation,
                    SystemClock.uptimeMillis());

            timeoutRecord.mLatencyTracker.waitingOnAMSLockEnded();
            timeoutRecord.mLatencyTracker.waitingOnAMSLockStarted();
            synchronized (mAm) {
                timeoutRecord.mLatencyTracker.waitingOnAMSLockEnded();
                if (!r.fgRequired || !r.fgWaiting || r.destroying) {