aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/LatinIME.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-01-15 19:21:06 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-01-15 19:21:06 +0000
commit118a4fc2b7fc4f0ba1de78eb0ef72b473a6ecfd5 (patch)
tree5070d6c205633f7d5be413981510c8739fce428a /java/src/com/android/inputmethod/latin/LatinIME.java
parent20a8a4a3d9844dc2437fd1ca6325559bb2c3a644 (diff)
parent4752b68f5a62ede099677bdea0514ba1d5082606 (diff)
downloadlatinime-118a4fc2b7fc4f0ba1de78eb0ef72b473a6ecfd5.tar.gz
latinime-118a4fc2b7fc4f0ba1de78eb0ef72b473a6ecfd5.tar.xz
latinime-118a4fc2b7fc4f0ba1de78eb0ef72b473a6ecfd5.zip
Merge "[IL56] Don't erase suggestions when reverting a commit."
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java2
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)) {