forked from upstream-mirrors/OpenTracks
Bugfix: crash on starting a recording with at least one BLE sensor configured.
Introduced in f336a1da12
This commit is contained in:
@@ -51,11 +51,11 @@ public class SensorManager {
|
||||
gpsManager = new GPSManager(observer); //TODO Pass listener
|
||||
gpsManager.start(context, handler);
|
||||
|
||||
bluetoothSensorManager = new BluetoothRemoteSensorManager(context, handler, listener);
|
||||
bluetoothSensorManager.start(context, handler);
|
||||
|
||||
altitudeSumManager = new AltitudeSumManager();
|
||||
bluetoothSensorManager = new BluetoothRemoteSensorManager(context, handler, listener);
|
||||
|
||||
altitudeSumManager.start(context, handler);
|
||||
bluetoothSensorManager.start(context, handler);
|
||||
}
|
||||
|
||||
public void stop(Context context) {
|
||||
|
||||
Reference in New Issue
Block a user