commit | 77b4dc9b37e0276d21cf731c2fea1c85b1c1df13 | [log] [tgz] |
---|---|---|
author | Seigo Nonaka <nona@google.com> | Tue Apr 23 22:34:34 2024 +0900 |
committer | Seigo Nonaka <nona@google.com> | Tue Apr 23 22:41:52 2024 +0900 |
tree | 79fa17fc3c8bc27466b4efb0cfe854b1b49166ff | |
parent | dd3bd465a8a7b8aaeec42ed247b13b9e8af7de35 [diff] |
Fix the inconsitent paragraph The previous fix was not complete. The previous fix was removing CR characters from the buffer because Android does not use CR as a paragraph separator. However there are few more characters that are used for breaking paragraph in BiDi algorithm. Use the BiDi properties instead of directly specifying CR code point. Bug: 330051215 Test: StaticLayoutTest#testNotCrashByCRCharacter_other_B_properties Change-Id: I0e209e90eb5ee7ea572188894ff19bc5e27ab5a6