diff options
| author | 2024-03-23 14:22:23 +0900 | |
|---|---|---|
| committer | 2024-03-23 14:22:23 +0900 | |
| commit | 6f75525bf5740627e861234b107fd74b4d90908f (patch) | |
| tree | b2613f251ede351a5b2e17800cc7e6a332b7dfc8 /libs/androidfw/StringPool.cpp | |
| parent | e2f574dd22febb21fe2cde5d8983d4f639d9a6f5 (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