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

Skip to content
Commit abac1945 authored by Graciela Wissen Putri's avatar Graciela Wissen Putri
Browse files

[2/n] Exclude caption from initial bounds in core

Desktop tasks launched from taskbar are sent with pending intent and
freeform windowing mode set from shell to core. Currently, exclusion of
caption insets from app bounds are only set in WindowDecoration#relayout
which is too late in the activity lifecycle as configuration has already
been resolved.

Exclude caption insets in task app bounds in launch params calculations
to ensure correct calculations.

Flag: com.android.window.flags.exclude_caption_from_app_bounds
Test: atest DesktopModeLaunchParamsModifierTests
      atest LaunchParamsControllerTests
Bug: 399544381
Change-Id: I411eeacd8d9b37b725f41ca428e20196c8e90904
parent 914eab0d
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