am 251999bf: Merge "Show amanatto settings only when in debug mode."

* commit '251999bfd1e76ebd2077d0bc2c3beb98a4071ceb':
  Show amanatto settings only when in debug mode.
main
Keisuke Kuroyanagi 2013-11-18 22:32:07 -08:00 committed by Android Git Automerger
commit 1f5bc05c94
2 changed files with 7 additions and 2 deletions

View File

@ -58,6 +58,12 @@
android:persistent="true"
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
android:key="read_external_dictionary"
android:title="@string/prefs_read_external_dictionary" />

View File

@ -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;
}
}