Show amanatto settings only when in debug mode.

Bug: 11740462
Change-Id: I206b16ab785215c6fa64e740a6dd46588c633ec8
This commit is contained in:
Keisuke Kuroyanagi 2013-11-19 14:40:20 +09:00
parent bdf12df1fb
commit eacb44b38d
2 changed files with 7 additions and 2 deletions

View File

@ -58,6 +58,12 @@
android:persistent="true" android:persistent="true"
android:title="@string/prefs_use_only_personalization_dictionary" /> android:title="@string/prefs_use_only_personalization_dictionary" />
<CheckBoxPreference
android:defaultValue="false"
android:key="boost_personalization_dictionary_for_debug"
android:persistent="true"
android:title="@string/prefs_boost_personalization_dictionary" />
<PreferenceScreen <PreferenceScreen
android:key="read_external_dictionary" android:key="read_external_dictionary"
android:title="@string/prefs_read_external_dictionary" /> android:title="@string/prefs_read_external_dictionary" />

View File

@ -112,8 +112,7 @@ public final class DebugSettings extends PreferenceFragment
updateDebugMode(); updateDebugMode();
mServiceNeedsRestart = true; mServiceNeedsRestart = true;
} }
} else if (key.equals(PREF_FORCE_NON_DISTINCT_MULTITOUCH) } else if (key.equals(PREF_FORCE_NON_DISTINCT_MULTITOUCH)) {
|| key.equals(PREF_USE_ONLY_PERSONALIZATION_DICTIONARY_FOR_DEBUG)) {
mServiceNeedsRestart = true; mServiceNeedsRestart = true;
} }
} }