diff options
| author | 2023-11-29 13:52:12 +0000 | |
|---|---|---|
| committer | 2023-12-05 17:46:32 +0000 | |
| commit | c6def223a4b58560a1576b20d89e3d35877e6a5e (patch) | |
| tree | 795f472ab5c45319b45e3bfa9709929b030eb286 /libs/hwui/FrameInfoVisualizer.cpp | |
| parent | 4c364eedcd1c8a3e6361a50b464b33d9338dc971 (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/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions