forked from upstream-mirrors/OpenTracks
Bugfix: a BLE sensor disconnect should only replace the aggregator.
Fixes #1799.
This commit is contained in:
@@ -148,6 +148,7 @@ public class BluetoothConnectionManager implements Driver {
|
||||
Log.w(TAG, "NONE: going to disconnect");
|
||||
if (isConnected()) {
|
||||
disconnect();
|
||||
observer.onRemove(sensorHandler.createEmptySensorData(null, null));
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user