Bugfix: a BLE sensor disconnect should only replace the aggregator.

Fixes #1799.
This commit is contained in:
Dennis Guse
2024-01-03 21:56:00 +01:00
parent d038f5c33a
commit 80d7f8d92e
4 changed files with 21 additions and 11 deletions
@@ -30,7 +30,6 @@ public class AltitudeCorrectionManager {
public void correctAltitude(Context context, TrackPoint trackPoint) {
if (!trackPoint.hasLocation() || !trackPoint.hasAltitude()) {
Log.d(TAG, "No altitude correction necessary.");
return;
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE && altitudeConverter != null) {