Loading java/src/com/android/inputmethod/latin/SettingsValues.java +2 −3 Original line number Diff line number Diff line Loading @@ -112,6 +112,8 @@ public class SettingsValues { prefs.getBoolean(Settings.PREF_KEY_ENABLE_SPAN_INSERT, true); // Compute other readable settings mKeypressVibrationDuration = getCurrentVibrationDuration(prefs, res); mFxVolume = getCurrentKeypressSoundVolume(prefs, res); mKeyPreviewPopupDismissDelay = getKeyPreviewPopupDismissDelay(prefs, res); mAutoCorrectionThreshold = getAutoCorrectionThreshold(prefs, res); final String voiceModeMain = res.getString(R.string.voice_mode_main); Loading @@ -120,9 +122,6 @@ public class SettingsValues { mVoiceKeyEnabled = voiceMode != null && !voiceMode.equals(voiceModeOff); mVoiceKeyOnMain = voiceMode != null && voiceMode.equals(voiceModeMain); mFxVolume = getCurrentKeypressSoundVolume(prefs, res); mKeypressVibrationDuration = getCurrentVibrationDuration(prefs, res); LocaleUtils.setSystemLocale(res, savedLocale); } Loading Loading
java/src/com/android/inputmethod/latin/SettingsValues.java +2 −3 Original line number Diff line number Diff line Loading @@ -112,6 +112,8 @@ public class SettingsValues { prefs.getBoolean(Settings.PREF_KEY_ENABLE_SPAN_INSERT, true); // Compute other readable settings mKeypressVibrationDuration = getCurrentVibrationDuration(prefs, res); mFxVolume = getCurrentKeypressSoundVolume(prefs, res); mKeyPreviewPopupDismissDelay = getKeyPreviewPopupDismissDelay(prefs, res); mAutoCorrectionThreshold = getAutoCorrectionThreshold(prefs, res); final String voiceModeMain = res.getString(R.string.voice_mode_main); Loading @@ -120,9 +122,6 @@ public class SettingsValues { mVoiceKeyEnabled = voiceMode != null && !voiceMode.equals(voiceModeOff); mVoiceKeyOnMain = voiceMode != null && voiceMode.equals(voiceModeMain); mFxVolume = getCurrentKeypressSoundVolume(prefs, res); mKeypressVibrationDuration = getCurrentVibrationDuration(prefs, res); LocaleUtils.setSystemLocale(res, savedLocale); } Loading