diff options
author | 2012-06-08 22:09:20 +0900 | |
---|---|---|
committer | 2012-06-12 10:29:55 +0900 | |
commit | 140adf204bdf68e25a760b371516e23f6ac51cf2 (patch) | |
tree | 092b360d63ad400df359340ad4e248ecc2e18586 /java/src/com/android/inputmethod/latin/SettingsValues.java | |
parent | 2010aad741bc1a7266913bcb8b8348d6e401c95b (diff) | |
download | latinime-140adf204bdf68e25a760b371516e23f6ac51cf2.tar.gz latinime-140adf204bdf68e25a760b371516e23f6ac51cf2.tar.xz latinime-140adf204bdf68e25a760b371516e23f6ac51cf2.zip |
Consolidate auto-correction settings.
For some reason, there were several ways, not exactly identical,
to get this setting. The ones that used mAutoCorrectionEnabled
would kick in when the input field was specifying no correction,
so it would be a little strange (although harmless in the practice
because the settings set in this way would not get used later,
because the correct test would be done at that time).
Also perform a very small refactoring
Change-Id: Ica9f32b238d98009ae1852d3c1e940398f5d341c
Diffstat (limited to 'java/src/com/android/inputmethod/latin/SettingsValues.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/SettingsValues.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/SettingsValues.java b/java/src/com/android/inputmethod/latin/SettingsValues.java index 10094b5ad..6a79aa611 100644 --- a/java/src/com/android/inputmethod/latin/SettingsValues.java +++ b/java/src/com/android/inputmethod/latin/SettingsValues.java @@ -91,7 +91,7 @@ public class SettingsValues { public final int mKeypressVibrationDuration; public final float mFxVolume; public final int mKeyPreviewPopupDismissDelay; - public final boolean mAutoCorrectEnabled; + private final boolean mAutoCorrectEnabled; public final float mAutoCorrectionThreshold; public final int mCorrectionMode; public final int mSuggestionVisibility; |