summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRoozbeh Pournader <roozbeh@google.com>2015-11-19 22:32:36 -0800
committerRoozbeh Pournader <roozbeh@google.com>2015-12-08 15:03:39 -0800
commit17b2b2d45854b56de7aa6d1581526e45991274d4 (patch)
tree0877592db2fbdae59a2a50dd0899e57624b1eb30 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent103d61b9f79de4d7b907227a7925e809e3e183c2 (diff)
Implement locale matching in LocalesList.
The algorithm tries to find the first locale in the locale list (usually from the user preference) that somewhat matches one of the locales supported (usually from the list of locales supported by the system or an app). Locales match if both their language and their likely script is the same. Otherwise they don't. Bug: 25800576 Change-Id: I4fbc3f44ab16d41efebbf941e94a0bb30d598f82
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions