TextLine.handleRun should throw exception for invalid index
TextLine.handleRun caused infinite loop if measureLimit is out of bounds of start and end parameters (for Spannables). For regular String it used to throw a similar exception in handleText. This CL verifies what is written in ApiDoc: measureLimit should be between start and limit inclusive. Bug: 30985145 Change-Id: I0659e8887f7b43ed2047d08b99bf86d8df80a21c
Loading
Please register or sign in to comment