summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2016-09-14 14:30:14 +0900
committerKeisuke Kuroyanagi <ksk@google.com>2016-09-14 14:30:14 +0900
commit82d1c443330785ae9561393880b92cbc44de7db2 (patch)
tree9ec8af6a294c80662985e9a6373cc9731ae7875b /tools/aapt2/java/JavaClassGenerator_test.cpp
parent86d086d06f7fb0ab5748df2ff9bc86718e47eedb (diff)
Make ellipsis START and MIDDLE grapheme cluster aware.
When text contains 2 emojis and each emoji has 2-code units, the width array will be like [10, 0, 10, 0]. In this case, without this CL, just the first code unit can be replaced with the ellipsis marker. This CL makes ellipsis START and MIDDLE grapheme cluster aware. Note that ellipsis END is working properly even without this CL. Bug: 30613917 Change-Id: I38ff9793f2ea381460c50465c5470e0ad9a405b9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions