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

Commit accc1553 authored by Robin Lee's avatar Robin Lee Committed by Android (Google) Code Review
Browse files

Merge "Don't move-to-front overlays for unresumed tasks"

parents 6eb2857e bee6422d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1238,7 +1238,7 @@ class ActivityStarter {
            r.mTaskOverlay = true;
            final TaskRecord task = mSupervisor.anyTaskForIdLocked(mOptions.getLaunchTaskId());
            final ActivityRecord top = task != null ? task.getTopActivity() : null;
            if (top != null && !top.visible) {
            if (top != null && top.state != RESUMED) {

                // The caller specifies that we'd like to be avoided to be moved to the front, so be
                // it!