diff options
author | Keisuke Kuroyanagi <ksk@google.com> | 2015-08-27 18:15:48 +0900 |
---|---|---|
committer | Keisuke Kuroyanagi <ksk@google.com> | 2015-08-27 18:15:48 +0900 |
commit | 00ad16d1cd24b788262ab4f62935e720a392da6d (patch) | |
tree | 2b94934401e60b6d75c69ef2c57d075aaf70bb85 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 077473fcc6f85dff57ee145d150e7b2012dc5241 (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions