Bugfix: TrackStatistics' total time was not restored correctly, when having pause/stop and then resume.

This commit is contained in:
Dennis Guse
2021-07-16 00:03:31 +02:00
parent 3bd00c906a
commit 86a0054c24
4 changed files with 69 additions and 101 deletions
@@ -121,6 +121,10 @@ public class TrackStatistics {
}
}
public boolean isInitialized() {
return startTime != null;
}
public void reset() {
startTime = null;
stopTime = null;