A mirror for futokb (https://gitlab.futo.org/keyboard)
Go to file
Kurt Partridge b10ec5319b Fix crashes related to setSpan(-1 ... -1) errors
Fixes b/7652661

In some circumstnaces, when hiding the window, the logger tries to capture the TextView contents
and restore the cursor position based on the values stored in LatinIME.  However, the IME may not
know the cursor position.

This fix does two things 1) doesn't try to reposition the cursor if the TextView contents are not
to be captured, and 2) if the cursor position is unknown (i.e., == -1), doesn't try to move it back.

Change-Id: I3976aaccf58c18f892c3a8530218ae52bcac9989
2012-12-03 16:39:58 -08:00
dictionaries Update RU dictionary header. 2012-11-22 16:21:10 +09:00
java Fix crashes related to setSpan(-1 ... -1) errors 2012-12-03 16:39:58 -08:00
native Clean up int types in the Dictionary class 2012-12-03 19:54:30 +09:00
tests Set additional subtypes before getting current subtype 2012-11-28 14:49:38 +09:00
tools Clean up dependency for dicttool 2012-11-29 19:09:01 +09:00
Android.mk Reorganize LatinIME native build directory structure. Now it got NDK friendly. 2011-12-13 21:16:20 +09:00
CleanSpec.mk Pass the touch position correction data to native. 2011-09-29 17:00:49 +09:00