From eacb44b38d523a3aeed4c3f17457af51cabc3a2e Mon Sep 17 00:00:00 2001 From: Keisuke Kuroyanagi Date: Tue, 19 Nov 2013 14:40:20 +0900 Subject: [PATCH] Show amanatto settings only when in debug mode. Bug: 11740462 Change-Id: I206b16ab785215c6fa64e740a6dd46588c633ec8 --- java/res/xml/prefs_for_debug.xml | 6 ++++++ .../android/inputmethod/latin/settings/DebugSettings.java | 3 +-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/java/res/xml/prefs_for_debug.xml b/java/res/xml/prefs_for_debug.xml index 8d9508e38..124c44388 100644 --- a/java/res/xml/prefs_for_debug.xml +++ b/java/res/xml/prefs_for_debug.xml @@ -58,6 +58,12 @@ android:persistent="true" android:title="@string/prefs_use_only_personalization_dictionary" /> + + diff --git a/java/src/com/android/inputmethod/latin/settings/DebugSettings.java b/java/src/com/android/inputmethod/latin/settings/DebugSettings.java index da1fb73fe..d060485bd 100644 --- a/java/src/com/android/inputmethod/latin/settings/DebugSettings.java +++ b/java/src/com/android/inputmethod/latin/settings/DebugSettings.java @@ -112,8 +112,7 @@ public final class DebugSettings extends PreferenceFragment updateDebugMode(); mServiceNeedsRestart = true; } - } else if (key.equals(PREF_FORCE_NON_DISTINCT_MULTITOUCH) - || key.equals(PREF_USE_ONLY_PERSONALIZATION_DICTIONARY_FOR_DEBUG)) { + } else if (key.equals(PREF_FORCE_NON_DISTINCT_MULTITOUCH)) { mServiceNeedsRestart = true; } }