Settings: scan for Bluetooth sensors rather than using bonded devices.

Bonded devices do no provide information what services (e.g., heart rate) they support.
This commit is contained in:
Dennis Guse
2019-11-12 18:30:47 +01:00
parent c59d1d87bd
commit e7a8c897a3
8 changed files with 358 additions and 79 deletions
+2 -3
View File
@@ -130,11 +130,10 @@ limitations under the License.
</PreferenceCategory>
<PreferenceCategory android:title="@string/settings_sensor">
<ListPreference
<de.dennisguse.opentracks.settings.BluetoothLeListPreference
android:defaultValue="@string/sensor_type_value_none"
android:key="@string/settings_sensor_bluetooth_sensor_key"
android:title="@string/settings_sensor_bluetooth_sensor"
app:useSimpleSummaryProvider="true" />
android:title="@string/settings_sensor_bluetooth_sensor" />
<Preference
android:key="@string/settings_sensor_bluetooth_pairing_key"
android:persistent="false"