futokb/java
Jean Chalard 43193ad60f Remove useless code (A63)
If the separator is not a space, then we will always call
setPunctuationSuggestions and reset the suggestion strip anyway.
If the separator is a space, then the cursor has a space on
the left, which means isCursorTouchingWord depends only on
whether it touches a word on the right. If we were displaying
the "add to dictionary hint", it means a suggestion was just
chosen, so it had to be displayed, and that requires a composing
word and no non-separator at the right of the cursor.

In the end, if we go through this postUpdateSuggestions call,
we are sure we will reset the suggestions later in this method,
either by calling postUpdateBigramPredictions, or
setPunctuationSuggestions.

Change-Id: I95d5f77a5d0ac6d1a6ced8d67d6ac8f650db4a32
2012-07-06 16:28:42 +09:00
..
res Fix tab key's navigation behavior 2012-07-05 16:57:14 +09:00
src/com/android/inputmethod Remove useless code (A63) 2012-07-06 16:28:42 +09:00
Android.mk
AndroidManifest.xml Use splitActionBarWhenNarrow for Android Settings activity 2012-05-22 16:10:11 +09:00
MODULE_LICENSE_APACHE2
NOTICE
proguard.flags Update LatinIME native Makefile for gesture code 2012-06-29 00:06:14 +09:00