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

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

Use config size for DisplayMetrics when override doesn't exist

Use the resource configuration to obtain the display size when
calculation the DisplayMetrics to make sure the app compatibility
overrides can be applied. If there are other overrides such as overrides
for multi-windowing mode, the override value will be used.

Bug: 366337720
Test: Check display size in createAppContext
Test: ResourcesManagerTest
Test: AppConfigurationTests
Flag: EXEMPT bugfix
Change-Id: I08dd396fde38778062b02a17b9ee5b7e175856bc
parent 4cc911dd
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