diff options
author | Elliott Hughes <enh@google.com> | 2014-05-29 17:41:25 -0700 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2014-06-16 11:47:41 +0100 |
commit | a94266074c7b82720fd2cecfb37ab8da85f1b296 (patch) | |
tree | 3a0b903bb2bbaaeb4fb8360deeb35eccabee2e9e /luni/src/main/java/android | |
parent | f577d7594f3acc1d97e119c508e8e4edfeb1f20b (diff) | |
download | libcore-a94266074c7b82720fd2cecfb37ab8da85f1b296.zip libcore-a94266074c7b82720fd2cecfb37ab8da85f1b296.tar.gz libcore-a94266074c7b82720fd2cecfb37ab8da85f1b296.tar.bz2 |
Pass BCP-47 tags and not Locale.toString results to ICU.
ICU can't handle the new toString forms for scripts etc.
and it's also guaranteed to deal with BCP-47 tags correctly.
Most of the changes in this patch are required to keep
backwards compatibility for getDisplayCountry string etc. in
the face of the transformations toLanguageTag performs.
A few tests were changed, but for the better.
The tagalog -> filipino charlie foxtrot will be dealt with
in a follow up change.
Co-Authored-By: Narayan Kamath <narayan@google.com>
Change-Id: Ia7f26d92a0e38c4bbb1d839c0fbd8ad16a473bf5
Diffstat (limited to 'luni/src/main/java/android')
0 files changed, 0 insertions, 0 deletions