Skip to content
Snippets Groups Projects
Commit 7674f869 authored by Jean Chalard's avatar Jean Chalard
Browse files

Remove the "Touch to correct words" option.

Bug: 5113009
Change-Id: Idc4a464e499a2530f517bf7fa449326779129371
parent ab791d0b
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
<bool name="config_default_show_settings_key">false</bool> <bool name="config_default_show_settings_key">false</bool>
<bool name="config_enable_show_voice_key_option">false</bool> <bool name="config_enable_show_voice_key_option">false</bool>
<bool name="config_enable_show_popup_on_keypress_option">false</bool> <bool name="config_enable_show_popup_on_keypress_option">false</bool>
<bool name="config_enable_show_recorrection_option">false</bool>
<bool name="config_enable_bigram_suggestions_option">false</bool> <bool name="config_enable_bigram_suggestions_option">false</bool>
<bool name="config_sliding_key_input_enabled">false</bool> <bool name="config_sliding_key_input_enabled">false</bool>
<bool name="config_digit_popup_characters_enabled">false</bool> <bool name="config_digit_popup_characters_enabled">false</bool>
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
<bool name="config_default_show_settings_key">true</bool> <bool name="config_default_show_settings_key">true</bool>
<bool name="config_enable_show_voice_key_option">false</bool> <bool name="config_enable_show_voice_key_option">false</bool>
<bool name="config_enable_show_popup_on_keypress_option">false</bool> <bool name="config_enable_show_popup_on_keypress_option">false</bool>
<bool name="config_enable_show_recorrection_option">false</bool>
<bool name="config_enable_bigram_suggestions_option">false</bool> <bool name="config_enable_bigram_suggestions_option">false</bool>
<bool name="config_sliding_key_input_enabled">false</bool> <bool name="config_sliding_key_input_enabled">false</bool>
<bool name="config_digit_popup_characters_enabled">false</bool> <bool name="config_digit_popup_characters_enabled">false</bool>
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<bool name="config_default_show_settings_key">false</bool> <bool name="config_default_show_settings_key">false</bool>
<bool name="config_enable_show_voice_key_option">true</bool> <bool name="config_enable_show_voice_key_option">true</bool>
<bool name="config_enable_show_popup_on_keypress_option">true</bool> <bool name="config_enable_show_popup_on_keypress_option">true</bool>
<bool name="config_enable_show_recorrection_option">true</bool> <bool name="config_enable_show_recorrection_option">false</bool>
<bool name="config_enable_bigram_suggestions_option">true</bool> <bool name="config_enable_bigram_suggestions_option">true</bool>
<bool name="config_enable_usability_study_mode_option">false</bool> <bool name="config_enable_usability_study_mode_option">false</bool>
<bool name="config_sliding_key_input_enabled">true</bool> <bool name="config_sliding_key_input_enabled">true</bool>
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
<!-- Default value for bigram prediction: after entering a word and a space only, should we look <!-- Default value for bigram prediction: after entering a word and a space only, should we look
at input history to suggest a hopefully helpful candidate for the next word? --> at input history to suggest a hopefully helpful candidate for the next word? -->
<bool name="config_default_bigram_prediction">false</bool> <bool name="config_default_bigram_prediction">false</bool>
<bool name="config_default_recorrection_enabled">true</bool> <bool name="config_default_compat_recorrection_enabled">true</bool>
<bool name="config_default_sound_enabled">false</bool> <bool name="config_default_sound_enabled">false</bool>
<bool name="config_auto_correction_spacebar_led_enabled">true</bool> <bool name="config_auto_correction_spacebar_led_enabled">true</bool>
<bool name="config_auto_correction_suggestion_strip_visual_flash_enabled">false</bool> <bool name="config_auto_correction_suggestion_strip_visual_flash_enabled">false</bool>
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
android:title="@string/prefs_enable_recorrection" android:title="@string/prefs_enable_recorrection"
android:summary="@string/prefs_enable_recorrection_summary" android:summary="@string/prefs_enable_recorrection_summary"
android:persistent="true" android:persistent="true"
android:defaultValue="@bool/config_default_recorrection_enabled" /> android:defaultValue="@bool/config_default_compat_recorrection_enabled" />
<CheckBoxPreference <CheckBoxPreference
android:key="show_settings_key" android:key="show_settings_key"
android:title="@string/prefs_settings_key" android:title="@string/prefs_settings_key"
......
...@@ -271,9 +271,10 @@ public class Recorrection implements SharedPreferences.OnSharedPreferenceChangeL ...@@ -271,9 +271,10 @@ public class Recorrection implements SharedPreferences.OnSharedPreferenceChangeL
// but always use the default setting defined in the resources. // but always use the default setting defined in the resources.
if (res.getBoolean(R.bool.config_enable_show_recorrection_option)) { if (res.getBoolean(R.bool.config_enable_show_recorrection_option)) {
mRecorrectionEnabled = prefs.getBoolean(Settings.PREF_RECORRECTION_ENABLED, mRecorrectionEnabled = prefs.getBoolean(Settings.PREF_RECORRECTION_ENABLED,
res.getBoolean(R.bool.config_default_recorrection_enabled)); res.getBoolean(R.bool.config_default_compat_recorrection_enabled));
} else { } else {
mRecorrectionEnabled = res.getBoolean(R.bool.config_default_recorrection_enabled); mRecorrectionEnabled =
res.getBoolean(R.bool.config_default_compat_recorrection_enabled);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment