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

Skip to content
Commit ba17026f authored by Yunfan Chen's avatar Yunfan Chen
Browse files

Verify windowing mode and bounds when apply overrides

When apply compat overrides, we need to check the windowing mode before
calculating. If the window is with a fullscreen windowing mode, and does
not overlap with any non-decor insets, we should not exclude the
non-decor insets from its bounds even if the app needs an override.

Bug: 358509380
Bug: 356050755
Test: WindowPolicyTests#testOptOutEdgeToEdgeAppBounds
Test: WindowPolicyTests#testOptOutEdgeToEdgeDisplayMetrics
Flag: EXEMPT bugfix
Change-Id: I2fcdb37a40db088b030ec5aa645da442f5f01f54
parent c7b81721
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