OSDN Git Service

RESTRICT AUTOMERGE
authorSeigo Nonaka <nona@google.com>
Mon, 16 Sep 2019 21:49:49 +0000 (14:49 -0700)
committerSterling Huber <hubers@google.com>
Mon, 30 Sep 2019 17:33:07 +0000 (17:33 +0000)
commit4ce901e4058d93336dca3413dc53b81bbdf9d3e8
tree5d113df00d9dd20513187ea6ebcf6f8cb9bd78c1
parentf8a2d069b41c0f075073ee828a694e55490a3493
RESTRICT AUTOMERGE
Do not compute outside given range in TextLine

This is second attempt of I646851973b3816bf9ba32dfe26748c0345a5a081
which breaks various layout test on application.
The empty string must be also handled by the TextLine since it
retrieves the default line height from the empty string.

Bug: 140632678
Test: StaticLayoutTest
Test: Manually done
Change-Id: I7089ed9b711dddd7de2b27c9c2fa0fb4cb53a735
core/java/android/text/TextLine.java