aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-01-24 22:42:40 +0900
committerJean Chalard <jchalard@google.com>2014-01-29 12:23:25 +0900
commit084c9961f4ede347fbfb719ce1075a10b93867c3 (patch)
tree08921b0376ae5ee18856917ce7e4ee462caf365b /java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java
parent1d2e4f9dccfba925dda75a1ded569c3b62f639ed (diff)
downloadlatinime-084c9961f4ede347fbfb719ce1075a10b93867c3.tar.gz
latinime-084c9961f4ede347fbfb719ce1075a10b93867c3.tar.xz
latinime-084c9961f4ede347fbfb719ce1075a10b93867c3.zip
[IL104] Remove useless arguments
Bug: 8636060 Change-Id: I97a371fe0c6227eb0f03d3e391a33726e6280322
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);
}
}