summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Seigo Nonaka <nona@google.com> 2024-03-23 14:22:23 +0900
committer Seigo Nonaka <nona@google.com> 2024-03-23 14:22:23 +0900
commit6f75525bf5740627e861234b107fd74b4d90908f (patch)
treeb2613f251ede351a5b2e17800cc7e6a332b7dfc8 /libs/androidfw/StringPool.cpp
parente2f574dd22febb21fe2cde5d8983d4f639d9a6f5 (diff)
Fix crash due to inconsistent handling of CR
ICU BiDi handles CR as paragraph separator but Android doen't do it. To minimize the performane penalty, recompute the BiDi only when the CR letter is present. Bug: 330051215 Test: atest StaticLayoutTest#testNotCrashByCRCharacter Change-Id: Ie86a9fda7f2452eb913154e79a59fe19f060c5f8
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions