commit | 04a84559fd11b36196872b1ac0cb82e5f7367806 | [log] [tgz] |
---|---|---|
author | Raph Levien <raph@google.com> | Thu Jul 09 15:38:04 2015 -0700 |
committer | Raph Levien <raph@google.com> | Thu Jul 09 15:42:34 2015 -0700 |
tree | f5a0eff68044f77d931fdeb081a84348d690c668 | |
parent | 7d170797ac844124b013b77cc220ccf115db12b7 [diff] |
Fix StaticLayout crash when maxLines = 0 An app setting maxLines = 0 is an edge case, but it can happen. We had some logic that would index an array at -1 in that case. This patch just skips the fixup of the ellipsis line break in that case. Bug: 22353342 Change-Id: I940cf0782b319010f5aedf75b9291df4ac2976d8