aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin
diff options
context:
space:
mode:
authorXiaojun Bi <bxj@google.com>2013-01-07 17:12:34 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-01-07 17:12:35 -0800
commit28de7223e62fd43d59cbf91fb2422c94e32e9ab0 (patch)
tree3a63973187cf477fce265a754e0941b688edf964 /java/src/com/android/inputmethod/latin
parentf90fc105ab1159f43f536bcacdd1224c2c05bacb (diff)
parentd52730a2d7a6e98245719ce5c53bcf4b3a3ba1c9 (diff)
downloadlatinime-28de7223e62fd43d59cbf91fb2422c94e32e9ab0.tar.gz
latinime-28de7223e62fd43d59cbf91fb2422c94e32e9ab0.tar.xz
latinime-28de7223e62fd43d59cbf91fb2422c94e32e9ab0.zip
Merge "[mdfp] Refactoring Gesture Floating Preview Text Code"
Diffstat (limited to 'java/src/com/android/inputmethod/latin')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 9d16eb7c5..f65bbe4a1 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -1599,9 +1599,7 @@ public final class LatinIME extends InputMethodService implements KeyboardAction
if (dismissGestureFloatingPreviewText) {
mainKeyboardView.dismissGestureFloatingPreviewText();
} else {
- final String batchInputText = suggestedWords.isEmpty()
- ? null : suggestedWords.getWord(0);
- mainKeyboardView.showGestureFloatingPreviewText(batchInputText);
+ mainKeyboardView.showGestureFloatingPreviewText(suggestedWords);
}
}