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

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

Apply stable config compat override after other compats

Moving the size override after other compat overrides to make sure the
letterbox overrides can be applied correctly. The fields overridden by
letterbox doesn't need extra override regarding the stable configuration
as all insets are already in consideration.

Besides, check shouldCreateCompatDisplayInsets() before applying the
override to avoid inconsistency when the compat display insets is not
yet created.

This is a partial cherry-pick contains the critical part of the change.

Bug: 332468995
Bug: 340970172
Bug: 336687188
Test: See reproduce steps in b/332468995
Test: CtsWindowManagerDeviceWindow:WindowMetricsActivityTests
Test: CtsWindowManagerSdk25TestCases:AspectRatioSdk25Tests
Test: v2/android-crystalball-eng/health/microbench/startup/hscapps/compile-speed-profile/open-maps
Merged-In: Iee7ae3ea7e483e6f80fa6ef4659627d620653081
Change-Id: If2e2e7f0eb504f2468f262b195f3a1cd28820423
parent 6d5685c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment