summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorYohei Yukawa <yukawa@google.com>2016-01-15 13:14:03 -0800
committerYohei Yukawa <yukawa@google.com>2016-01-15 13:14:03 -0800
commitc38b51953921c17181fbe334cdaa95f188bfdb14 (patch)
tree3bc687c7fa11f29f63e5eaa3027cca22628769d4 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentcbc5bd57f0f528743fce5ec02b0739dc6368311f (diff)
Replace Locale with LocaleList in LocaleSpan.
This is a straightforward upgrading of LocaleSpan. LocaleSpan was designed to be a mechanism to override text locale only in a certain substring. Since now text locale supports multiple locales with LocaleList, it should make sense to let LocaleSpan have the ability to have multiple locales with LocaleList. This CL also addresses an existing issue that LocaleSpan maintained only Language/Country/Variant tags. Now Locale data associated with a LocaleSpan is guaranteed to be preserved as long as each of them can be created from a BCP 47 language tag with Locale#forLanguageTag(String). Bug: 26567158 Change-Id: Ib754796d399cd00f9d02005df88874a5cd5c7642
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions