diff options
author | Roozbeh Pournader <roozbeh@google.com> | 2016-01-04 17:38:17 -0800 |
---|---|---|
committer | Roozbeh Pournader <roozbeh@google.com> | 2016-01-04 17:38:17 -0800 |
commit | 9ae46d8ee28cd709d81d2b48c44c47f4e4f485e8 (patch) | |
tree | 167de884a841f4774a43b063636370f30b69a36b /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | e824f8287b012dccc3a0376afc497bc3e4393563 (diff) |
Optimize locale negotiation when there's only one locale
Previously, we were finding the list of locales supported by the
system in all cases, costing us a JNI call, which was not necessary
when there was only one locale (which is expected to be quite
common).
Change-Id: I2f752a71a46b66ac2abb553a5939eddf0f761698
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions