Loading
Apply stable config compat override after othe 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. 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 Change-Id: Iee7ae3ea7e483e6f80fa6ef4659627d620653081