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

Commit fccf4ca8 authored by Will Osborn's avatar Will Osborn
Browse files

Move home task forward according to the the display

Don't default to always bring home on the DEFAULT_DISPLAY forward

Bug: 417994256
Flag: EXEMPT bugfix
Test: locally tested on comet
Change-Id: Id295ba2c5ad91bca5c7c201a90521022d41c439f
parent 629fed4e
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2889,8 +2889,7 @@ public class ActivityTaskSupervisor implements RecentTasks.Callbacks {
                    // activity from whatever is started from the recents activity, so move
                    // the home root task forward.
                    // TODO (b/115289124): Multi-display supports for recents.
                    mRootWindowContainer.getDefaultTaskDisplayArea().moveHomeRootTaskToFront(
                            "startActivityFromRecents");
                    task.getTaskDisplayArea().moveHomeRootTaskToFront("startActivityFromRecents");
                }

                // If the user must confirm credentials (e.g. when first launching a work