summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Victor Chang <vichang@google.com> 2024-03-20 14:42:40 +0000
committer Victor Chang <vichang@google.com> 2024-03-22 14:06:39 +0000
commitc033ce976de907a9e866bb2a4f2c3604b24a5cbe (patch)
treeeb5cfc853c5c67f823be759f09936acd6f939232 /libs/androidfw/ZipFileRO.cpp
parent9138e5069b6ea8cfeba52e853cadd0c688120f23 (diff)
Update LocaleUtils.filterByLanguage due to addLikelySubtags change
ULocale.addLikelySubtags is allowed to canonicalize subtags according to step 1 in the spec http://www.unicode.org/reports/tr35/#Likely_Subtags - "Replace any deprecated subtags with their canonical values using the <alias> data in supplemental metadata. Use the first value in the replacement list, if it exists." - In this case, ULocale.addLikelySubtag("sr-Latn-CS") returns "sr-Latn-RS". Thus, the algorithm of LocaleUtils.calculateMatchingSubScore needs to be updated to do what it tries to do. In addition, update DateIntervalFormatTest due to ICU 74 de locale data change Bug: 327164201 Test: atest FrameworksCoreTests:android.text.format Test: atest FrameworksServicesTests:com.android.server.inputmethod Test: atest CtsInputMethodTestCases Change-Id: I5902000994c8af8bdb7e26c99ae33b85cd5ccca4
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions