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

Commit 02ed3533 authored by Ats Jenk's avatar Ats Jenk
Browse files

Split root task should not allow bounds for child tasks

Call the new WindowContainerTransaction API
setDisableChildTaskBoundsOverride when split root task is ready.
Calling this on the root task ensures that when a task is reparented
under the split root task, the child task bounds are cleared.
Split screen requires that the tasks inherit the bounds of the root
tasks, if task has bounds set on it, it won't pick up the split bounds,
resulting in incorrect placement on screen.

Bug: 427245857
Test: atest WMShellUnitTests:StageCoordinatorTests
Flag: com.android.wm.shell.split_disable_child_task_bounds

Change-Id: Icd2bbc10d7b2c9398c95040af74e891ad6393cee
parent 47803e8d
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