summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2015-04-24 18:55:56 +0900
committerKeisuke Kuroyanagi <ksk@google.com>2015-04-28 20:46:08 +0900
commit9c68b29c22a95270879f1552dec4182e8e118411 (patch)
tree6d5845415feac6ccfa18d92cea9e65d5891b7c6f /native
parente48cca2a20668951254e980ac9284cd3492280ba (diff)
downloadframeworks_base-9c68b29c22a95270879f1552dec4182e8e118411.zip
frameworks_base-9c68b29c22a95270879f1552dec4182e8e118411.tar.gz
frameworks_base-9c68b29c22a95270879f1552dec4182e8e118411.tar.bz2
Fix: A part of grapheme cluster can be selected.
Previously, when a selection handle is about to pass the other handle, the offset of the handle was computed with +1 or -1 to the offset, without considering UTF-16 surrogate pairs or grapheme clusters. This patch consistently uses grapheme clusters to compute the new offset in such cases. Bug: 20112392 Change-Id: I2b5e206d20886ca7ceb9f4375ee0d66f2328f99d
Diffstat (limited to 'native')
0 files changed, 0 insertions, 0 deletions