summaryrefslogtreecommitdiff
path: root/libs/androidfw/BackupHelpers.cpp
diff options
context:
space:
mode:
author Victor Chang <vichang@google.com> 2023-12-05 17:43:27 +0000
committer Android Build Cherrypicker Worker <android-build-cherrypicker-worker@google.com> 2023-12-05 17:43:27 +0000
commit28c113d299ac9f608c4a05f6db953f77d732795d (patch)
treeb559d73f61fb780ccd10648110d7c4442ee2b59d /libs/androidfw/BackupHelpers.cpp
parentfc31e4ed5abb6fb966784b4fa104554c952cbd83 (diff)
Remove Unicode whitespace before AM/PM in the status bar
The regression is introduced in Android 14 with ICU 72 when \u202f is used in the time format for en-US. UCharacter.isUWhitespace is a better way to determine Unicode whitespace characters than the characters used in the java language as in JLS 3.6, because the time format comes from the ICU following the Unicode / CLDR spec. Flag: NA Bug: 312903894 Test: Verified that MAGIC1 is inserted before \u202f Test: Inspected the TextView.mText via https://google.github.io/web-hv (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e01e702f5dc541cbdd3812ea9dbdd2ac58d9c503) Merged-In: I7b660b94c6ef75dbe96be8bcd2b074c8edd73ba7 Change-Id: I7b660b94c6ef75dbe96be8bcd2b074c8edd73ba7
Diffstat (limited to 'libs/androidfw/BackupHelpers.cpp')
0 files changed, 0 insertions, 0 deletions