Idle: TrackRecordingManager creates IDLE TrackPoints (import/export GPX/KML).

Fixes of #1187.
This commit is contained in:
Dennis Guse
2023-08-03 19:21:05 +02:00
parent 6be9d2477c
commit 00debe2eb5
10 changed files with 80 additions and 115 deletions
@@ -79,7 +79,7 @@ public class TrackStatisticsUpdater {
this.trackStatistics = new TrackStatistics(toCopy.trackStatistics);
this.lastTrackPoint = toCopy.lastTrackPoint;
this.idle = idle;
this.idle = toCopy.idle;
resetAverageHeartRate();
}
@@ -181,6 +181,7 @@ public class TrackStatisticsUpdater {
currentSegment.reset(trackPoint.getTime());
lastTrackPoint = null;
idle = false;
resetAverageHeartRate();
}