mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-02-01 03:32:17 +01:00
13be343392
In order to add an emulated device it is sufficient to use the "Add test device" functionality choosing pebble as device and entering IP:PORT in the mac address field. The pebble setting to force BLE is moved to discovery_pairing_preferences.xml Also delete the pebble_preferences file and update general preferences.
31 lines
1.3 KiB
XML
31 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<SwitchPreferenceCompat
|
|
android:defaultValue="false"
|
|
android:key="discover_unsupported_devices"
|
|
android:layout="@layout/preference_checkbox"
|
|
android:summary="@string/discover_unsupported_devices_description"
|
|
android:title="@string/discover_unsupported_devices"
|
|
app:iconSpaceReserved="false" />
|
|
<SwitchPreferenceCompat
|
|
android:defaultValue="false"
|
|
android:key="prefs_general_key_auto_reconnect_scan"
|
|
android:title="@string/auto_reconnect_ble_scan_title"
|
|
android:summary="@string/auto_reconnect_ble_scan_summary"
|
|
android:layout="@layout/preference_checkbox"
|
|
app:iconSpaceReserved="false" />
|
|
<PreferenceCategory
|
|
android:title="@string/pref_title_pebble_settings"
|
|
app:iconSpaceReserved="false">
|
|
<SwitchPreferenceCompat
|
|
android:defaultValue="false"
|
|
android:key="pebble_force_le"
|
|
android:layout="@layout/preference_checkbox"
|
|
android:summary="@string/pref_summary_pebble_forcele"
|
|
android:title="@string/pref_title_pebble_forcele"
|
|
app:iconSpaceReserved="false" />
|
|
</PreferenceCategory>
|
|
</PreferenceScreen>
|