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

Commit 45be4fce authored by Ben Lin's avatar Ben Lin
Browse files

DesktopCtr/SplitScreenCtr: Supply dispId when starting New Window Split.

When starting new window => splitscreen via calling splitscreen
controller, even if a launchDisplayId is supplied in ActivityOptions,
since Splitscreen's RootTask is always on the default display, Core will
not be able to start splitscreen on non-default display as its parent is
still on the original display.

Pass the displayId, and StageCoordinator will then reparent the Root
Task to the new display.

Bug: 415268190
Test: atest
Flag:com.android.window.flags.enable_non_default_display_split
Change-Id: Ie1d0498067c9e984968031772047da8bc29fbd52
parent 6c9e8790
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