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

Commit cdd82540 authored by Craig Mautner's avatar Craig Mautner Committed by Android (Google) Code Review
Browse files

Merge "When waiting for activity to finish don't reset" into klp-dev

parents 874ae2ad 5c494547
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -620,7 +620,13 @@ final class ActivityStack {
    }

    void clearLaunchTime(ActivityRecord r) {
        // Make sure that there is no activity waiting for this to launch.
        if (mStackSupervisor.mWaitingActivityLaunched.isEmpty()) {
            r.displayStartTime = r.fullyDrawnStartTime = 0;
        } else {
            mStackSupervisor.removeTimeoutsForActivityLocked(r);
            mStackSupervisor.scheduleIdleTimeoutLocked(r);
        }
    }

    void awakeFromSleepingLocked() {