diff options
| author | 2024-12-16 16:57:30 +0000 | |
|---|---|---|
| committer | 2024-12-17 12:13:46 +0000 | |
| commit | 5d2bcb878e5ba8bc40d34e15e03559b58d33fd4f (patch) | |
| tree | 927522084f5255a35478ce57a04ec9defc878adf /libs/androidfw/FileStream.cpp | |
| parent | 7c4ce2fb711aa1bfa9afa648f6adbe72c4fb95c4 (diff) | |
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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions