mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-05 02:53:06 +02:00
GPS is now optional: data source (internal, none) be selected in settings.
Migrated to GPSHandler. Fixes #1279.
This commit is contained in:
@@ -253,10 +253,6 @@ public class PreferencesUtils {
|
||||
return isReportSpeed(track.activityTypeLocalized());
|
||||
}
|
||||
|
||||
public static String getBluetoothSensorAddressNone() {
|
||||
return SensorType.NONE.getPreferenceValue();
|
||||
}
|
||||
|
||||
public static SensorType getSensorType(String address) {
|
||||
return Arrays.stream(SensorType.values())
|
||||
.filter(it -> it.getPreferenceValue().equals(address))
|
||||
|
||||
Reference in New Issue
Block a user