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

Commit 7f26c171 authored by Louis Chang's avatar Louis Chang Committed by Android (Google) Code Review
Browse files

Merge "Remove resuming activity from stopping"

parents cf42dd7c e0f99623
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -5974,6 +5974,8 @@ class Task extends WindowContainer<WindowContainer> {
        if (mResumedActivity == next && next.isState(RESUMED)
                && taskDisplayArea.getWindowingMode() != WINDOWING_MODE_FREEFORM
                && taskDisplayArea.allResumedActivitiesComplete()) {
            // The activity may be waiting for stop, but that is no longer appropriate for it.
            mStackSupervisor.mStoppingActivities.remove(next);
            // Make sure we have executed any pending transitions, since there
            // should be nothing left to do at this point.
            executeAppTransition(options);