diff options
author | 2014-03-19 02:17:40 -0700 | |
---|---|---|
committer | 2014-03-19 02:17:40 -0700 | |
commit | 36e6589b83f81645fcfff9f411d846e792abb2c3 (patch) | |
tree | d6c703be3768b5eceac6f3e0eb358b11b6ca5d18 /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | d90a8ab0d110a7eb4d60e10ccd964a6aade8ae53 (diff) | |
parent | 554346e94c852222a16b8ade732832158cbd34af (diff) | |
download | latinime-36e6589b83f81645fcfff9f411d846e792abb2c3.tar.gz latinime-36e6589b83f81645fcfff9f411d846e792abb2c3.tar.xz latinime-36e6589b83f81645fcfff9f411d846e792abb2c3.zip |
am 554346e9: [IL126] Move a setting value to SettingsValues
* commit '554346e94c852222a16b8ade732832158cbd34af':
[IL126] Move a setting value to SettingsValues
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index df4ba7783..fc5c7f7ec 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -169,7 +169,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen private int mDelayUpdateSuggestions; private int mDelayUpdateShiftState; - private long mDoubleSpacePeriodTimeout; private long mDoubleSpacePeriodTimerStart; public UIHandler(final LatinIME ownerInstance) { @@ -184,8 +183,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen final Resources res = latinIme.getResources(); mDelayUpdateSuggestions = res.getInteger(R.integer.config_delay_update_suggestions); mDelayUpdateShiftState = res.getInteger(R.integer.config_delay_update_shift_state); - mDoubleSpacePeriodTimeout = - res.getInteger(R.integer.config_double_space_period_timeout); } @Override @@ -327,7 +324,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen public boolean isAcceptingDoubleSpacePeriod() { return SystemClock.uptimeMillis() - mDoubleSpacePeriodTimerStart - < mDoubleSpacePeriodTimeout; + < getOwnerInstance().mSettings.getCurrent().mDoubleSpacePeriodTimeout; } // Working variables for the following methods. |