diff options
author | 2014-01-09 18:36:23 +0900 | |
---|---|---|
committer | 2014-01-16 03:22:46 +0900 | |
commit | 4752b68f5a62ede099677bdea0514ba1d5082606 (patch) | |
tree | 741d14d1db199c306835290ed4e6811644da5322 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | cdeeadf5caf00dd7cc73ebdd6f7196e96a76df00 (diff) | |
download | latinime-4752b68f5a62ede099677bdea0514ba1d5082606.tar.gz latinime-4752b68f5a62ede099677bdea0514ba1d5082606.tar.xz latinime-4752b68f5a62ede099677bdea0514ba1d5082606.zip |
[IL56] Don't erase suggestions when reverting a commit.
Bug: 12297051
Change-Id: Iffa1c98b8fe2b816c3ac6bc171037288107f637d
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 40391694c..fd2cd30b6 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1389,7 +1389,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen // We're checking the previous word in the text field against the memorized previous // word. If we are composing a word we should have the second word before the cursor // memorized, otherwise we should have the first. - final String rereadPrevWord = mInputLogic.getNthPreviousWordForSuggestion( + final CharSequence rereadPrevWord = mInputLogic.getNthPreviousWordForSuggestion( currentSettings.mSpacingAndPunctuations, mInputLogic.mWordComposer.isComposingWord() ? 2 : 1); if (!TextUtils.equals(previousWord, rereadPrevWord)) { |