diff options
author | orionlee <orionlee@yahoo.com> | 2019-03-24 13:00:37 -0700 |
---|---|---|
committer | orionlee <orionlee@yahoo.com> | 2019-03-24 13:00:37 -0700 |
commit | 0a01f6e00b462fb7456f8dd732ea2e30da6bfbf2 (patch) | |
tree | b4ed5e753a7e231b7cd525e7498b8d04e2fce1ab | |
parent | 335d287d5ef01f56a50ad44e9476ece98fe42622 (diff) | |
download | AntennaPod-0a01f6e00b462fb7456f8dd732ea2e30da6bfbf2.zip |
#2162 bugfix - statistics - inflated actual played duration
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/storage/DBReader.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/storage/DBReader.java b/core/src/main/java/de/danoeh/antennapod/core/storage/DBReader.java index 83aa4c780..63227e550 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/storage/DBReader.java +++ b/core/src/main/java/de/danoeh/antennapod/core/storage/DBReader.java @@ -882,10 +882,6 @@ public final class DBReader { continue; } - // played duration used to be reset when the item is added to the playback history - if (media.getPlaybackCompletionDate() != null) { - feedPlayedTime += media.getDuration() / 1000; - } feedPlayedTime += media.getPlayedDuration() / 1000; if (item.isPlayed()) { |