summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRaph Levien <raph@google.com>2014-11-17 12:32:06 -0800
committerChris Craik <ccraik@google.com>2014-11-19 15:39:34 -0800
commit93e48e8cf18610bfb3f88ccd29891b2959dd606b (patch)
tree80436bf8fb0d94b412fee7ea466837727cfba558 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent10e4a45f691e6b60278fc772dedfe7646e615d0e (diff)
Fix missing ellipsis when just one character is truncated
The "moreChars" test in StaticLayout's generate method would evaluate to false when the last character in a word caused the break. This in turn suppressed the ellipsis in this case. The proposed fix is always to set moreChars true in the code path where the line is broken because more text wouldn't fit. Bug: 17738112 Change-Id: Ifa1a69841ca952da4d1937dc8326778179b026b3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions