summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRaph Levien <raph@google.com>2014-04-03 15:52:08 -0700
committerRaph Levien <raph@google.com>2014-04-03 15:52:08 -0700
commit63b3d8c62ef24121f40b2262e89b3f37527beab3 (patch)
tree3b7e1efd4d47cca443223610d54c507b307fbd55 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentf4824a06884e096beef921646cba4be29d7f36fc (diff)
Fix extra text appearing after ellipsis
This is a fix for bug 7615701 TextView: calling setText with long strings causes ellipsize to not work correctly. The problem is that the "break" when the last line was ellipsized did not fully break out of both loops of the processing logic, but only the inner loop. This caused the outer loop to restart at the next span, causing the next span boundary to overwrite the line end of the last visible line. The fix simply returns from the function in that case, as there is no further processing needing to be done. Change-Id: I5b34233ffba6f0f6f1c12b9565b4fc53e83a4892
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions