aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-09-04 05:06:01 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-09-04 05:06:01 -0700
commitdf7c3683c56702ef273fd7355de7ccbda56c6a5e (patch)
treeaddb5b67c3a9bb3770eccc8d25c35a5fb32f202b /java/src/com/android/inputmethod/latin/LatinIME.java
parentf5e59e12c41337d1b3f9a967d79c9539bd52b907 (diff)
parentac25fcac717b0d28dfb2cd5c8ecd4fde839c4eeb (diff)
downloadlatinime-df7c3683c56702ef273fd7355de7ccbda56c6a5e.tar.gz
latinime-df7c3683c56702ef273fd7355de7ccbda56c6a5e.tar.xz
latinime-df7c3683c56702ef273fd7355de7ccbda56c6a5e.zip
am ac25fcac: Display punctuation suggestions on cursor move
* commit 'ac25fcac717b0d28dfb2cd5c8ecd4fde839c4eeb': Display punctuation suggestions on cursor move
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, 5 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 39c3a808f..96c6d6f98 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -1045,7 +1045,11 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
// the composing word, reset the last composed word, tell the inputconnection about it.
private void resetEntireInputState() {
resetComposingState(true /* alsoResetLastComposedWord */);
- clearSuggestionStrip();
+ if (mCurrentSettings.mBigramPredictionEnabled) {
+ clearSuggestionStrip();
+ } else {
+ setSuggestionStrip(mCurrentSettings.mSuggestPuncList, false);
+ }
mConnection.finishComposingText();
}