mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-09 03:37:03 +01:00
Remove preference pebble_reconnect_attempts
Its usage was removed with
c2db30274f
This commit is contained in:
parent
54cf421295
commit
8e876c8a92
@ -47,7 +47,6 @@ public class PebbleSettingsActivity extends AbstractSettingsActivityV2 {
|
|||||||
public void onCreatePreferences(final Bundle savedInstanceState, final String rootKey) {
|
public void onCreatePreferences(final Bundle savedInstanceState, final String rootKey) {
|
||||||
setPreferencesFromResource(R.xml.pebble_preferences, rootKey);
|
setPreferencesFromResource(R.xml.pebble_preferences, rootKey);
|
||||||
|
|
||||||
setInputTypeFor("pebble_reconnect_attempts", InputType.TYPE_CLASS_NUMBER);
|
|
||||||
setInputTypeFor("pebble_mtu_limit", InputType.TYPE_CLASS_NUMBER);
|
setInputTypeFor("pebble_mtu_limit", InputType.TYPE_CLASS_NUMBER);
|
||||||
setInputTypeFor("pebble_emu_port", InputType.TYPE_CLASS_NUMBER);
|
setInputTypeFor("pebble_emu_port", InputType.TYPE_CLASS_NUMBER);
|
||||||
|
|
||||||
|
@ -1,18 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||||
<PreferenceCategory
|
|
||||||
android:title="@string/pref_header_general"
|
|
||||||
app:iconSpaceReserved="false">
|
|
||||||
<EditTextPreference
|
|
||||||
android:defaultValue="12"
|
|
||||||
android:inputType="number"
|
|
||||||
android:key="pebble_reconnect_attempts"
|
|
||||||
android:maxLength="4"
|
|
||||||
android:title="@string/pref_title_pebble_reconnect_attempts"
|
|
||||||
app:iconSpaceReserved="false"
|
|
||||||
app:useSimpleSummaryProvider="true" />
|
|
||||||
</PreferenceCategory>
|
|
||||||
<PreferenceCategory
|
<PreferenceCategory
|
||||||
android:title="@string/pref_header_development"
|
android:title="@string/pref_header_development"
|
||||||
app:iconSpaceReserved="false">
|
app:iconSpaceReserved="false">
|
||||||
|
Loading…
Reference in New Issue
Block a user