diff options
author | 2014-01-27 19:34:07 -0800 | |
---|---|---|
committer | 2014-01-27 19:34:07 -0800 | |
commit | 43502ea3ba600b7a6c0de3dc9a83534cc20da124 (patch) | |
tree | 26dc35d03ae472a0fd13f82131df8a28db75999e /java | |
parent | d5259d578bbf6897ec636e34eeb220e14cabe28d (diff) | |
parent | 9909d6aa49ea17b6dd391a48e2ad29be11006249 (diff) | |
download | latinime-43502ea3ba600b7a6c0de3dc9a83534cc20da124.tar.gz latinime-43502ea3ba600b7a6c0de3dc9a83534cc20da124.tar.xz latinime-43502ea3ba600b7a6c0de3dc9a83534cc20da124.zip |
am 9909d6aa: Merge "[IL93] Refactor a method inside another"
* commit '9909d6aa49ea17b6dd391a48e2ad29be11006249':
[IL93] Refactor a method inside another
Diffstat (limited to 'java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index 58f4eb954..1670844ed 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1011,7 +1011,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen false /* isPrediction */); // When in fullscreen mode, show completions generated by the application setSuggestedWords(suggestedWords); - setAutoCorrectionIndicator(false); setSuggestionStripShown(true); if (ProductionFlag.USES_DEVELOPMENT_ONLY_DIAGNOSTICS) { ResearchLogger.latinIME_onDisplayCompletions(applicationSpecifiedCompletions); @@ -1336,6 +1335,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen mSuggestionStripView.setSuggestions(words); mKeyboardSwitcher.onAutoCorrectionStateChanged(words.mWillAutoCorrect); } + setAutoCorrectionIndicator(words.mWillAutoCorrect); } private void setAutoCorrectionIndicator(final boolean newAutoCorrectionIndicator) { @@ -1440,7 +1440,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen mInputLogic.mWordComposer.setAutoCorrection(autoCorrection); } setSuggestedWords(suggestedWords); - setAutoCorrectionIndicator(suggestedWords.mWillAutoCorrect); setSuggestionStripShown(isSuggestionsStripVisible()); // Cache the auto-correction in accessibility code so we can speak it if the user // touches a key that will insert it. @@ -1558,7 +1557,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen } else { setSuggestedWords(currentSettings.mSpacingAndPunctuations.mSuggestPuncList); } - setAutoCorrectionIndicator(false); setSuggestionStripShown(isSuggestionsStripVisible()); } |