Fix android.text.cts.StaticLayoutTest#testGetEllipsisCount
The "moreChars" predicate (which is used in ellipsis computation) was slightly incorrect, sometimes being computed as false when the line break is at the end of a paragraph but not the end of the buffer. This patch makes the behavior consistent with shipping versions. Bug: 19676414 Change-Id: I72e16794e895c2eb765b21feaf59fcdccc4857f1
Loading
Please register or sign in to comment