diff options
| author | Raph Levien <raph@google.com> | 2015-07-09 15:38:04 -0700 |
|---|---|---|
| committer | Raph Levien <raph@google.com> | 2015-07-09 15:42:34 -0700 |
| commit | 04a84559fd11b36196872b1ac0cb82e5f7367806 (patch) | |
| tree | f5a0eff68044f77d931fdeb081a84348d690c668 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
| 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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions
