aboutsummaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-09-04 19:54:55 +0900
committerJean Chalard <jchalard@google.com>2012-09-04 19:54:55 +0900
commitac25fcac717b0d28dfb2cd5c8ecd4fde839c4eeb (patch)
treeaddb5b67c3a9bb3770eccc8d25c35a5fb32f202b /java/src
parent2e4713a54ed38a18f39ef0d52431459c8210dc40 (diff)
downloadlatinime-ac25fcac717b0d28dfb2cd5c8ecd4fde839c4eeb.tar.gz
latinime-ac25fcac717b0d28dfb2cd5c8ecd4fde839c4eeb.tar.xz
latinime-ac25fcac717b0d28dfb2cd5c8ecd4fde839c4eeb.zip
Display punctuation suggestions on cursor move
...if punctuation suggestions are requested. Fixes the symptom, but not the root cause of Bug: 6981089 Change-Id: I683a7451c99457829cb4e5a762f43548ff89a535
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();
}