1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-08 19:27:04 +01:00

Remove preference pebble_reconnect_attempts

Its usage was removed with
c2db30274f
This commit is contained in:
Daniele Gobbetti 2024-08-22 15:05:55 +02:00 committed by José Rebelo
parent 54cf421295
commit 8e876c8a92
2 changed files with 0 additions and 13 deletions

View File

@ -47,7 +47,6 @@ public class PebbleSettingsActivity extends AbstractSettingsActivityV2 {
public void onCreatePreferences(final Bundle savedInstanceState, final String 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_emu_port", InputType.TYPE_CLASS_NUMBER);

View File

@ -1,18 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
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
android:title="@string/pref_header_development"
app:iconSpaceReserved="false">