| commit | 76c23aff1a774086e55a1946a8f922d9238464f5 | [log] [tgz] |
|---|---|---|
| author | Jerome Gaillard <[email protected]> | Wed Oct 17 18:21:19 2018 +0100 |
| committer | Jerome Gaillard <[email protected]> | Fri Apr 05 11:15:23 2019 +0000 |
| tree | e6e5be124f41833fe069201f5ae297ecb3b27fd2 | |
| parent | ddc1f1d59259c43b820cafa53283e4d01e949446 [diff] |
Resize all LineBreakers arrays when needed When there are more line breaks in a text field than the initial size of 16 in StaticLayout.LineBreaks, layoutlib must resize all the arrays, even if it does not use ascents or descents for displaying. Otherwise there can be an IndexOutOfBoundsException. Bug: 117642391 Test: RenderTests.testManyLineBreaks added Change-Id: Ifb00d64a6e501c8a07ff126f245e7c80106794c6