summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2015-08-27 18:15:48 +0900
committerRaph Levien <raph@google.com>2016-01-11 22:29:12 +0000
commit720edf95db6c908f87dbbb33c6bde67aedb36899 (patch)
tree341d86c7d250aeb15e15f8e8b04bfe1b2680d842 /tools/aapt2/java/JavaClassGenerator.cpp
parentd3b2826a1a3ff128db1e89a081124192ac70c509 (diff)
Fix: Cursor can be at an invalid offset in EditText.
"getLineEnd(line) - 1" is used as the return value when the "horiz" is beyond the line end for multiple line text. In this case, the returned value can point an invalid offset like the middle point of a surrogate pair. Bug: 23069901 Change-Id: I1afef7205a15079a42bb0018df73f70fe9ada862 (cherry picked from commit 00ad16d1cd24b788262ab4f62935e720a392da6d)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions