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

Skip to content
Commit 5d2bcb87 authored by Eghosa Ewansiha-Vlachavas's avatar Eghosa Ewansiha-Vlachavas
Browse files

Fix non-resizeable app letterboxing when entering desktop windowing

`topActivityLetterboxAppHeight` and `topActivityLetterboxAppWidth` are
now only populated if the application is letterboxed. These values were
previously used for both letterboxed apps and fullscreen nonresizeable
apps as they contained accurate starting bounds for when the app would
enter SCM.

Introduce `topActivityAppBounds` to replace the above values which will
always be populated regardless of the letterbox state.

Flag: com.android.window.flags.enable_windowing_dynamic_initial_bounds
Fixes: 380254503
Fixes: 379741474
Test: atest WMShellUnitTests:DesktopTasksControllerTest
Change-Id: I61dd34648333b2ee92520d181bfb6c060409705c
parent 7c4ce2fb
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