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

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

Merge "Avoid activity stopped when relaunching it to resumed" into sc-dev

parents f797f40b 18ee2ee9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -8086,6 +8086,9 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
            setState(PAUSED, "relaunchActivityLocked");
        }

        // The activity may be waiting for stop, but that is no longer appropriate for it.
        mTaskSupervisor.mStoppingActivities.remove(this);

        configChangeFlags = 0;
        deferRelaunchUntilPaused = false;
        preserveWindowOnDeferredRelaunch = false;