Show amanatto settings only when in debug mode.
Bug: 11740462 Change-Id: I206b16ab785215c6fa64e740a6dd46588c633ec8main
parent
bdf12df1fb
commit
eacb44b38d
|
@ -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" />
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue