summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2016-10-14 11:10:29 -0700
committerAdam Lesinski <adamlesinski@google.com>2016-10-14 18:16:18 +0000
commit43097218433c4cd3385cdf6cc3f28b7edb6b30aa (patch)
treedfb6dae108c52d09c2fcb8e0d714f33a47574475 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentdc7280fe742221f1eb015a6a9a3bfada76ca285d (diff)
Update DisplayMetrics even on default display
Fix a bug where the DisplayMetrics wouldn't be updated for a Resources object on the default display. Since multi-window, we want to update all Resources. This didn't always manifest itself due to recreation of assets, which would force an update of DisplayMetrics. Re-use of an AssetManager from the cache would expose the bug. Bug:32133693 Bug:31998629 Test: cts-tradefed run cts --module CtsServicesHostTestCases Change-Id: Ic51ab82710517b87eb995ccf982085dba876ad58
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions