diff options
author | Roozbeh Pournader <roozbeh@google.com> | 2016-01-15 11:23:42 -0800 |
---|---|---|
committer | Roozbeh Pournader <roozbeh@google.com> | 2016-01-21 13:47:22 -0800 |
commit | b927c559e1ef8530b08712507f320502627db298 (patch) | |
tree | f0d2fd051cb4486239e6f6187e0da53e416fdaeb /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | ac3e599069e1b87ea190f008aef60a506c8561c7 (diff) |
Implement smarter locale resource selection
* Add support for determining script from language and region.
* Add support for determining special parents of locales.
* Add support for smart comparison of locales with only a difference
in region, using the locale parentage tree.
* Fix LocaleData.matchScore() to not fallback to old locale matching
behavior if we can't determine a script.
* Allow four-character variant codes. (Previously, only five- to
eight-character variant codes were allowed.)
Bug: 7296673
Bug: 26589793
Change-Id: Ibde0a48c0564ff383b41068095a5cbacfe7b94bc
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions