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

Commit 4d893744 authored by Stefan Kuhne's avatar Stefan Kuhne Committed by Android (Google) Code Review
Browse files

Merge "Ensure activity visiblity when moving task" into mnc-dev

parents e1d0188b 54714cd2
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2868,6 +2868,9 @@ public final class ActivityStackSupervisor implements DisplayListener {
            task.stack.removeTask(task, "moveTaskToStack", false /* notMoving */);
        }
        stack.addTask(task, toTop, true);
        // The task might have already been running and its visibility needs to be synchronized with
        // the visibility of the stack / windows.
        stack.ensureActivitiesVisibleLocked(null, 0);
        resumeTopActivitiesLocked();
    }