From 2ba975afb9529a6574148596db190b939fbc3b3f Mon Sep 17 00:00:00 2001 From: Ken Wakasa Date: Sat, 30 Jul 2011 10:19:51 +0900 Subject: [PATCH] Turn off the Settings key by default bug:5094401 Change-Id: Ieb42fdfa79be2afcfa6634e7404c17737ef6927d --- java/res/values/donottranslate.xml | 20 ---- java/res/values/strings.xml | 6 -- java/res/xml/prefs.xml | 8 +- .../keyboard/KeyboardSwitcher.java | 97 ++++++------------- .../android/inputmethod/latin/Settings.java | 27 ++---- .../com/android/inputmethod/latin/Utils.java | 12 +-- 6 files changed, 50 insertions(+), 120 deletions(-) diff --git a/java/res/values/donottranslate.xml b/java/res/values/donottranslate.xml index 4cf930399..a70c795e2 100644 --- a/java/res/values/donottranslate.xml +++ b/java/res/values/donottranslate.xml @@ -50,26 +50,6 @@ \u25b2 - - - 0 - - 1 - - 2 - - - @string/settings_key_mode_auto - @string/settings_key_mode_always_show - @string/settings_key_mode_always_hide - - - - @string/settings_key_mode_auto_name - @string/settings_key_mode_always_show_name - @string/settings_key_mode_always_hide_name - - 0 diff --git a/java/res/values/strings.xml b/java/res/values/strings.xml index e5b85fec3..253581836 100644 --- a/java/res/values/strings.xml +++ b/java/res/values/strings.xml @@ -82,12 +82,6 @@ Show settings key - - Automatic - - Always show - - Always hide diff --git a/java/res/xml/prefs.xml b/java/res/xml/prefs.xml index 8ccb46f70..552e3cf4f 100644 --- a/java/res/xml/prefs.xml +++ b/java/res/xml/prefs.xml @@ -49,13 +49,11 @@ android:summary="@string/prefs_enable_recorrection_summary" android:persistent="true" android:defaultValue="@bool/config_default_recorrection_enabled" /> - + android:defaultValue="false" />