commit | ce4155a204144ae5462f547f7738af24be5a1f77 | [log] [tgz] |
---|---|---|
author | Raph Levien <raph@google.com> | Wed Mar 11 11:02:33 2015 -0700 |
committer | Raph Levien <raph@google.com> | Wed Mar 11 11:02:33 2015 -0700 |
tree | 66d1c7b156ef1bcd5ae92fd27194ed273ac9b50c | |
parent | 4771577a342214ef4f7373a8d37d015749b00347 [diff] |
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