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

Commit f23196c5 authored by Ben Lin's avatar Ben Lin
Browse files

DesktopTasksController: Supply displayId when re-launching bg apps.

When launching background apps we don't go through the normal flow -
launcher requests a re-launch of background apps since they are depicted
as "minimized". Because this is a different codepath, we end up creating
a different ActivityOptions, and by default without a displayId supplied
the task ends up being launched into default display.

This also passes displayId into startLaunchTransition so the desk
activation work can be properly setup.

Bug: 414393986
Test: Manual (Open Chrome on ext. display, press back, open chrome again
using taskbar - Chrome opens on ext. display)
Test: atest
Flag:com.android.window.flags.enable_bug_fixes_for_secondary_display

Change-Id: I8937ab08bbd38cf5c3a97051f89c2ae1cd8c8b97
parent 894af0f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment