aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2014-06-19 01:49:37 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-06-19 01:49:37 +0000
commit6beeeedbde62fdbc6954d1425ee65340b718ea6d (patch)
tree91c3aeb68d84157001b13802179be5a9261b91c2 /java/src/com/android/inputmethod/latin
parent5e7af7077c77c650650eab17ddf637a5dbd76a7b (diff)
parentf49e9757404a84620f56e4210159c55193587187 (diff)
downloadlatinime-6beeeedbde62fdbc6954d1425ee65340b718ea6d.tar.gz
latinime-6beeeedbde62fdbc6954d1425ee65340b718ea6d.tar.xz
latinime-6beeeedbde62fdbc6954d1425ee65340b718ea6d.zip
am f49e9757: Clear suggestions strip if a suggestion engine isn\'t attached
* commit 'f49e9757404a84620f56e4210159c55193587187': Clear suggestions strip if a suggestion engine isn't attached
Diffstat (limited to 'java/src/com/android/inputmethod/latin')
-rw-r--r--java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
index de95b9787..d216d6515 100644
--- a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
+++ b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
@@ -1187,6 +1187,8 @@ public final class InputLogic {
Log.w(TAG, "Called updateSuggestionsOrPredictions but suggestions were not "
+ "requested!");
}
+ // Clear the suggestions strip.
+ mSuggestionStripViewAccessor.showSuggestionStrip(SuggestedWords.EMPTY);
return;
}