mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Show amanatto settings only when in debug mode.
Bug: 11740462 Change-Id: I206b16ab785215c6fa64e740a6dd46588c633ec8
This commit is contained in:
parent
bdf12df1fb
commit
eacb44b38d
@ -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" />
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user