diff options
author | 2013-09-13 16:49:41 +0900 | |
---|---|---|
committer | 2013-09-17 18:43:12 +0900 | |
commit | b1e98c2f4fbfc637db302e699a7a331691cf90a3 (patch) | |
tree | 16bbe32363c67ffc0eac6cb9376d380b8ca35d84 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 7e51989b3fba9b3cc25e48ca5640d569a2195fab (diff) | |
download | latinime-b1e98c2f4fbfc637db302e699a7a331691cf90a3.tar.gz latinime-b1e98c2f4fbfc637db302e699a7a331691cf90a3.tar.xz latinime-b1e98c2f4fbfc637db302e699a7a331691cf90a3.zip |
[AC8] Restrict the suggestion strip to the correct part
...for phrase gesture.
Bug: 9059617
Change-Id: Ic5c0616f28af4ba45ca72a5721d1926029adc1c5
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 1 |
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); |