diff options
author | 2014-06-05 09:33:05 +0000 | |
---|---|---|
committer | 2014-06-05 09:33:05 +0000 | |
commit | 0dbf15f1528276105b434e50217dc5964f6bb63e (patch) | |
tree | 87a991430bcc66924477c384984343fb7a8ca9c1 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | a12d431c868c7e3e7a24da7a62d07f7835a22766 (diff) | |
parent | 2e32e37d5bf95743eb56ef1b9560ffc5032bccf3 (diff) | |
download | latinime-0dbf15f1528276105b434e50217dc5964f6bb63e.tar.gz latinime-0dbf15f1528276105b434e50217dc5964f6bb63e.tar.xz latinime-0dbf15f1528276105b434e50217dc5964f6bb63e.zip |
Merge "Rename some boolean variables for readability"
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index d329d2ce6..66ee57cfa 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -602,7 +602,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen mDictionaryFacilitator.resetDictionaries(this /* context */, locale, settingsValues.mUseContactsDict, settingsValues.mUsePersonalizedDicts, false /* forceReloadMainDictionary */, this); - if (settingsValues.mCorrectionEnabled) { + if (settingsValues.mAutoCorrectionEnabled) { mInputLogic.mSuggest.setAutoCorrectionThreshold( settingsValues.mAutoCorrectionThreshold); } @@ -814,7 +814,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen mainKeyboardView.closing(); currentSettingsValues = mSettings.getCurrent(); - if (currentSettingsValues.mCorrectionEnabled) { + if (currentSettingsValues.mAutoCorrectionEnabled) { suggest.setAutoCorrectionThreshold( currentSettingsValues.mAutoCorrectionThreshold); } @@ -1410,7 +1410,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen mInputLogic.mSuggest.getSuggestedWords(mInputLogic.mWordComposer, mInputLogic.mWordComposer.getPrevWordsInfoForSuggestion(), keyboard.getProximityInfo(), currentSettings.mBlockPotentiallyOffensive, - currentSettings.mCorrectionEnabled, additionalFeaturesOptions, sessionId, + currentSettings.mAutoCorrectionEnabled, additionalFeaturesOptions, sessionId, sequenceNumber, callback); } |