commit | 9ae46d8ee28cd709d81d2b48c44c47f4e4f485e8 | [log] [tgz] |
---|---|---|
author | Roozbeh Pournader <roozbeh@google.com> | Mon Jan 04 17:38:17 2016 -0800 |
committer | Roozbeh Pournader <roozbeh@google.com> | Mon Jan 04 17:38:17 2016 -0800 |
tree | 167de884a841f4774a43b063636370f30b69a36b | |
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