summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAdam Lesinski <adamlesinski@google.com>2016-02-23 17:49:53 -0800
committerAdam Lesinski <adamlesinski@google.com>2016-03-09 17:33:14 -0800
commitff5808d223d6359448afc532717b8ccfdc5182d8 (patch)
tree39db02737ed994b392e44838612d7ec610f1edd4 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent0dd17c840645e6d1fd67276b45420ca742df6110 (diff)
AssetManager: Cache a pre-filtered list of configurations
When we set the parameters for a ResTable, we can pre-filter which resources match and only look at that smaller list when getting entries. This helps A LOT with types that have many configurations, like strings and all their various locales. We must store the cached entries in a parallel data structure because parts of the main Type object are shared with other ResTables, causing data races. Bug:25499111 Change-Id: I63e37dcbd683fc9f1e7d0f3a6ed4c1c01e0fc575
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions