diff options
author | 2012-03-09 17:53:20 +0900 | |
---|---|---|
committer | 2012-03-09 18:36:49 +0900 | |
commit | 67af2a24157ead953607bdfd585fba3a7e6bf50c (patch) | |
tree | 1db5b050c552148c58dc55f9246d929c1e68888d /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | df9fce5df1bacdffb39c7926bdda4b205f186998 (diff) | |
download | latinime-67af2a24157ead953607bdfd585fba3a7e6bf50c.tar.gz latinime-67af2a24157ead953607bdfd585fba3a7e6bf50c.tar.xz latinime-67af2a24157ead953607bdfd585fba3a7e6bf50c.zip |
Export some more logic out of Latin IME
Change-Id: Ib264533a05e9e09347bf254789e6ab5beec92400
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 e4961d6d9..94aff3f3d 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1831,7 +1831,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar // length == 1). if (builder.size() > 1 || typedWord.length() == 1 || !builder.allowsToBeAutoCorrected() || mSuggestionsView.isShowingAddToDictionaryHint()) { - boolean autoCorrectionAvailable = mSuggest.hasAutoCorrection(); + boolean autoCorrectionAvailable = builder.hasAutoCorrection(); if (mCorrectionMode == Suggest.CORRECTION_FULL || mCorrectionMode == Suggest.CORRECTION_FULL_BIGRAM) { autoCorrectionAvailable |= !builder.allowsToBeAutoCorrected(); |