summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2016-04-04 08:58:04 -0600
committerJeff Sharkey <jsharkey@android.com>2016-04-04 16:46:01 -0600
commita3ebfec731c2f1fcc67ecf58d4634e957b044cba (patch)
tree2dc163770cc5042eb5cbdb2e29223104f21baa0e /tools/aapt2/java/JavaClassGenerator_test.cpp
parent7d718bb252fe2bdee0c9c728a1e6e4892deb8ac7 (diff)
Invalidate caches when locale changes.
When loading roots for the first time, we're okay using any cached data from the system, but if the locale changes we need to force-refresh everything. Now that we're always using the system cache, we have a nice strong signal for "empty" versus "not cached" results, so we don't need to wait around for the first loading pass to finish. Add logic to invalidate system cache when locale changes, and fix locking bug. Bug: 27977906 Change-Id: Ic50083eff360bea887799583f6c9f02c129eec91
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions