forked from upstream-mirrors/OpenTracks
Fix idle discrepancy in UI
This commit is contained in:
@@ -77,6 +77,7 @@ public class TrackStatisticsUpdater {
|
|||||||
this.currentSegment = new SegmentStatisticUpdater(toCopy.currentSegment);
|
this.currentSegment = new SegmentStatisticUpdater(toCopy.currentSegment);
|
||||||
|
|
||||||
this.lastTrackPoint = toCopy.lastTrackPoint;
|
this.lastTrackPoint = toCopy.lastTrackPoint;
|
||||||
|
this.isIdle = toCopy.isIdle;
|
||||||
resetAverageHeartRate();
|
resetAverageHeartRate();
|
||||||
|
|
||||||
addTrackPoint(tmp);
|
addTrackPoint(tmp);
|
||||||
|
|||||||
Reference in New Issue
Block a user