summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAndrii Kulian <akulian@google.com>2020-02-10 17:25:30 -0800
committerAndrii Kulian <akulian@google.com>2020-03-13 13:11:33 -0700
commit8efbbe751fa5167d2a776c3acd24d9eb644ad4a9 (patch)
treeda19dd97b5290323ba6b3b4628d7a37b5aa065c6 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentdf8bb0037133f90554dd7065ba6298007070440d (diff)
Don't override activity display adjustments with app config
When process configuration was applied on the client side it accidentally applied an override to display adjustments in resources for all ResourceImpl objects. This resulted in resources of activities having incorrect display adjustments and reporting incorrect display size. This CL fixes the issue by updating the applied config with the activity override. It also removes ResourcesManager#applyNonDefaultDisplayMetricsToConfiguration, which is no longer needed on the client side since the server-side is fully multi-display aware. Bug: 148639826 Test: ActivityThreadTest#testHandleConfigurationChangedDoesntOverrideActivityConfig Test: AppConfigurationTests#testDisplaySizeInSplitScreen Change-Id: Ib3ee007bcccd11451556b66274de4257cba082d4
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions