diff options
author | Keisuke Kuroyanagi <ksk@google.com> | 2015-04-24 18:55:56 +0900 |
---|---|---|
committer | Keisuke Kuroyanagi <ksk@google.com> | 2015-04-28 20:46:08 +0900 |
commit | 9c68b29c22a95270879f1552dec4182e8e118411 (patch) | |
tree | 6d5845415feac6ccfa18d92cea9e65d5891b7c6f /native | |
parent | e48cca2a20668951254e980ac9284cd3492280ba (diff) | |
download | frameworks_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