summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2020-07-14 12:23:21 -0700
committerChris Tate <ctate@android.com>2020-07-15 16:35:00 +0000
commit44c4994dca5e968a423dc3510d2e15d9f4d92f8d (patch)
tree1f091794cc983838eeebe43f3f12879f8dfb9f72 /tools/aapt2/java/JavaClassGenerator.cpp
parent76539712ca0b3bdc149c188a27add62f9bdfa04c (diff)
Don't clone the locale redundantly in Configuration.setTo()
When updating an existing Configuration instance, don't create a new clone of the pattern's embedded Locale unless it is materially different from the existing instance's own. Bug: 161264248 Test: boot & run Test: atest AppConfigurationTests Test: atest ConfigChangeTests Test: atest LocaleListTest Change-Id: I5dc0598b89305c488ba50c1774ecdabf939a6ccc
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions