DesktopTasksController: Supply displayId when creating new instance.
When launching new instances of apps we don't go through the normal
PendingIntent flow, and instead goes through a new window flow. This
supplies the displayId to the ActivityOptions so that Core processes the
display correctly.
Bug: 415268190
Test: atest, Manual (new window on Clank via app header)
Flag: com.android.window.flags.enable_bug_fixes_for_secondary_display
Change-Id: I5fa6ce1f6b89b1e51cdbfac7901897e8a1eac681
2 files changed