aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2013-01-10 11:31:47 +0900
committerTadashi G. Takaoka <takaoka@google.com>2013-01-10 16:25:05 +0900
commit50d902ac6fd018131bd7044dd968bb99e0fdba7b (patch)
tree528ea7130453b4d16e55bfda5531b86f38cde33d /java/src/com/android/inputmethod/latin/LatinIME.java
parent6512cd289d4d6bcc835b9da013c3098bf3807bc2 (diff)
downloadlatinime-50d902ac6fd018131bd7044dd968bb99e0fdba7b.tar.gz
latinime-50d902ac6fd018131bd7044dd968bb99e0fdba7b.tar.xz
latinime-50d902ac6fd018131bd7044dd968bb99e0fdba7b.zip
Show final suggested word when batch input is finished
This change moves dismiss timer of gesture floating preview text from PreviewPlacerView to KeyboardView. Bug: 7967461 Change-Id: I0ca5beddc93cb4bc4a405f914d217d37b997402b
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index f1f50fe8f..df733c55a 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -1588,10 +1588,9 @@ public final class LatinIME extends InputMethodService implements KeyboardAction
final boolean dismissGestureFloatingPreviewText) {
showSuggestionStrip(suggestedWords, null);
final KeyboardView mainKeyboardView = mKeyboardSwitcher.getMainKeyboardView();
+ mainKeyboardView.showGestureFloatingPreviewText(suggestedWords);
if (dismissGestureFloatingPreviewText) {
mainKeyboardView.dismissGestureFloatingPreviewText();
- } else {
- mainKeyboardView.showGestureFloatingPreviewText(suggestedWords);
}
}