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

Commit 73a9e8a3 authored by Eghosa Ewansiha-Vlachavas's avatar Eghosa Ewansiha-Vlachavas
Browse files

Use stable bounds orientation for initial bounds calculation

Using the existing task orientation is not a reliable way to calculate
the required initial bounds as there is a possibility the destination
orientation might be different to the current task one. This can be
the case with split screen to desk as well as moving tasks to external
displays.

Instead use the stable bounds orientation of the destination display.

Flag: com.android.window.flags.enable_windowing_dynamic_initial_bounds
Test: atest WMShellUnitTests:DesktopTasksControllerTest
Fixes: 404887079
Change-Id: Ic013146710bd2aa1f8afef32077f157312b1ccf6
parent 5d628b1f
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