mirror of
https://codeberg.org/OpenTracksApp/OpenTracks.git
synced 2026-10-03 18:03:06 +02:00
Idle: TrackRecordingManager creates IDLE TrackPoints (import/export GPX/KML).
Fixes of #1187.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user