aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-09-04 05:19:12 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-09-04 05:19:12 -0700
commit6dee368f2a8fb015e25f555f5b2c308c5040a5e7 (patch)
treeaddb5b67c3a9bb3770eccc8d25c35a5fb32f202b /java/src
parentf70fdb0d47cb76e6d1b9fa49f4e3254e7f855f6e (diff)
parentdf7c3683c56702ef273fd7355de7ccbda56c6a5e (diff)
downloadlatinime-6dee368f2a8fb015e25f555f5b2c308c5040a5e7.tar.gz
latinime-6dee368f2a8fb015e25f555f5b2c308c5040a5e7.tar.xz
latinime-6dee368f2a8fb015e25f555f5b2c308c5040a5e7.zip
am df7c3683: am ac25fcac: Display punctuation suggestions on cursor move
* commit 'df7c3683c56702ef273fd7355de7ccbda56c6a5e': Display punctuation suggestions on cursor move
Diffstat (limited to 'java/src')
-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();
}