aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2013-09-17 02:49:23 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-09-17 02:49:23 -0700
commit3cf85c105a7736ef24831f3aa45acf63f09a611d (patch)
tree7851e8e22ce7d8897e86289ee13561ccaa204ca2 /java/src/com/android/inputmethod/latin/LatinIME.java
parent2715b01de4e1f6788adbb3ed46a3a462721e4f76 (diff)
parent5cab0eb75b430fe15f59f7af828416b6b087dbe8 (diff)
downloadlatinime-3cf85c105a7736ef24831f3aa45acf63f09a611d.tar.gz
latinime-3cf85c105a7736ef24831f3aa45acf63f09a611d.tar.xz
latinime-3cf85c105a7736ef24831f3aa45acf63f09a611d.zip
am 5cab0eb7: Merge "[AC8] Restrict the suggestion strip to the correct part"
* commit '5cab0eb75b430fe15f59f7af828416b6b087dbe8': [AC8] Restrict the suggestion strip to the correct part
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 44715caf8..d3a18d410 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -1880,6 +1880,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
final int indexOfLastSpace = batchInputText.lastIndexOf(Constants.CODE_SPACE) + 1;
if (0 != indexOfLastSpace) {
mConnection.commitText(batchInputText.substring(0, indexOfLastSpace), 1);
+ showSuggestionStrip(suggestedWords.getSuggestedWordsForLastWordOfPhraseGesture());
}
final String lastWord = batchInputText.substring(indexOfLastSpace);
mWordComposer.setBatchInputWord(lastWord);