aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 90e4fcf89..62c7bbda7 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -1874,7 +1874,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
mSuggestionsView.showAddToDictionaryHint(
suggestion, mCurrentSettings.mHintToSaveText);
} else {
- mHandler.postUpdateSuggestions();
+ // Here we just manually picked a suggestion. We should be showing the predictions!
+ mHandler.postUpdateBigramPredictions();
}
}
}
@@ -2011,7 +2012,8 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
// Don't restart suggestion yet. We'll restart if the user deletes the
// separator.
mLastComposedWord = LastComposedWord.NOT_A_COMPOSED_WORD;
- mHandler.postUpdateSuggestions();
+ // We have a separator between the word and the cursor: we should show predictions.
+ mHandler.postUpdateBigramPredictions();
}
public boolean isWordSeparator(int code) {