commit | 6f75525bf5740627e861234b107fd74b4d90908f | [log] [tgz] |
---|---|---|
author | Seigo Nonaka <nona@google.com> | Sat Mar 23 14:22:23 2024 +0900 |
committer | Seigo Nonaka <nona@google.com> | Sat Mar 23 14:22:23 2024 +0900 |
tree | b2613f251ede351a5b2e17800cc7e6a332b7dfc8 | |
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