forked from upstream-mirrors/OpenTracks
Bugfix: TrackStatistics' total time was not restored correctly, when having pause/stop and then resume.
This commit is contained in:
@@ -121,6 +121,10 @@ public class TrackStatistics {
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isInitialized() {
|
||||
return startTime != null;
|
||||
}
|
||||
|
||||
public void reset() {
|
||||
startTime = null;
|
||||
stopTime = null;
|
||||
|
||||
Reference in New Issue
Block a user