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

Commit 3eb3b1d6 authored by Craig Mautner's avatar Craig Mautner Committed by Android Git Automerger
Browse files

am 7f4b4202: Merge "[ActivityManager] Move top task to top in window manager"

* commit '7f4b4202':
  [ActivityManager] Move top task to top in window manager
parents eab505fa 7f4b4202
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1709,7 +1709,7 @@ public final class ActivityStackSupervisor {
            TaskRecord sourceTask = sourceRecord.task;
            targetStack = sourceTask.stack;
            moveHomeStack(targetStack.isHomeStack());
            mWindowManager.moveTaskToTop(sourceTask.taskId);
            mWindowManager.moveTaskToTop(targetStack.topTask().taskId);
            if (!addingToTask &&
                    (launchFlags&Intent.FLAG_ACTIVITY_CLEAR_TOP) != 0) {
                // In this case, we are adding the activity to an existing