summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorSeigo Nonaka <nona@google.com>2016-03-30 23:09:16 +0900
committerSeigo Nonaka <nona@google.com>2016-03-31 00:21:35 +0900
commitc14dd78a2c20c0cfa229dfeef064de148e0b608e (patch)
tree4567f1a910673efeb2505b7bd0a3eadad5ce514c /tools/aapt2/java/JavaClassGenerator_test.cpp
parentaac5bf1c1c60fac2db26c1ec68b85a7232816682 (diff)
Fix incorrect initial locale negotiation.
It turned out that calling ResourceManager.setDefaultLocalesLocked and ResourcesManager.applyConfigurationToResourcesLocked can be called before the locale negotiation is ready. To fix this issue, move ResourcesManager setup flow after creating application context. This also introduces RuntimeException for notifying developers the initialize order. Bug: 27567902 Change-Id: Iab7ea384b039fb649fb52d06d45b2bfae21f9a8a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions