Skip to content
Commit 9ae46d8e authored by Roozbeh Pournader's avatar Roozbeh Pournader
Browse files

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
parent e824f828
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment