summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMady Mellor <madym@google.com>2015-03-12 11:01:43 -0700
committerMady Mellor <madym@google.com>2015-03-12 19:24:26 +0000
commit27d6b97f635bba781f4979093b82b7f6198cdeb9 (patch)
tree749208d897aa63aabf3e7b467d35f7eea29cf13d /tools/aapt2/java/JavaClassGenerator_test.cpp
parentbe331a3809b9cf921c6ad65e1d671b24e97dded9 (diff)
Fix negative touch word offset that caused crashing when selecting text
Previously the offset between the touch event and the start / end of the word could result in a negative value - we don't care or want this value to be negative. The negative value also causes the returned offset to be outside the bounds of the text which resulted in a crash. Bug: 19705184 Change-Id: I4287df7778c246dd10654f1a1f1e57538e940730
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions