summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Yunfan Chen <yunfanc@google.com> 2024-09-25 16:45:58 +0900
committer Yunfan Chen <yunfanc@google.com> 2024-10-03 17:02:24 +0900
commit2a09810f908c8d3f8f968262fc51754fd7861e59 (patch)
tree15a512e4bdf7fdb8d90c1b9cbeaae60811936366 /libs/androidfw/StringPool.cpp
parent4cc911dd5c1dae6ea644361791e0545f274ce2cf (diff)
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions