aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-01-30 03:45:14 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-01-30 03:45:15 +0000
commit362779d6084d0b5ca289764ae362c7ae909608c2 (patch)
treea165d622da0d695b216ecb455f8c6476d3027f69 /java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
parente5040f6b0d4101c55c11d5e200dc2b203b7cbdc0 (diff)
parent084c9961f4ede347fbfb719ce1075a10b93867c3 (diff)
downloadlatinime-362779d6084d0b5ca289764ae362c7ae909608c2.tar.gz
latinime-362779d6084d0b5ca289764ae362c7ae909608c2.tar.xz
latinime-362779d6084d0b5ca289764ae362c7ae909608c2.zip
Merge "[IL104] Remove useless arguments"
Diffstat (limited to 'java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java')
-rw-r--r--java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
index c02f7318a..4bdbc75f5 100644
--- a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
+++ b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
@@ -1217,10 +1217,8 @@ public final class InputLogic {
// Since there is only one word, willAutoCorrect is false.
suggestedWords = suggestedWordsIncludingTypedWord;
}
- // We need to pass typedWord because mWordComposer.mTypedWord may
- // differ from typedWord.
mLatinIME.unsetIsAutoCorrectionIndicatorOnAndCallShowSuggestionStrip(
- suggestedWords, typedWord);
+ suggestedWords);
}});
} else {
// We found suggestion spans in the word. We'll create the SuggestedWords out of
@@ -1229,8 +1227,7 @@ public final class InputLogic {
true /* typedWordValid */, false /* willAutoCorrect */,
false /* isPunctuationSuggestions */, false /* isObsoleteSuggestions */,
false /* isPrediction */, SuggestedWords.NOT_A_SEQUENCE_NUMBER);
- mLatinIME.unsetIsAutoCorrectionIndicatorOnAndCallShowSuggestionStrip(suggestedWords,
- typedWord);
+ mLatinIME.unsetIsAutoCorrectionIndicatorOnAndCallShowSuggestionStrip(suggestedWords);
}
}