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
Loading
Please register or sign in to comment