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
Loading
Please sign in to comment