diff options
author | H. Lehmann <ByteHamster@users.noreply.github.com> | 2019-03-27 20:51:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-27 20:51:13 +0100 |
commit | 42cbdbd989143ac7ceb09ef3991324a0fd77e864 (patch) | |
tree | c3e616d349d2038d0c34edfd5cba51ddbee7f731 /core/src/main/java | |
parent | 3e2efea0e76fd03614f95a255520e731b1792782 (diff) | |
parent | 0a01f6e00b462fb7456f8dd732ea2e30da6bfbf2 (diff) | |
download | AntennaPod-42cbdbd989143ac7ceb09ef3991324a0fd77e864.zip |
Merge pull request #3066 from orionlee/bugfix_statistics_played_duration_inflated_2162
bugfix - statistics - inflated actual played duration
Diffstat (limited to 'core/src/main/java')
-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()) { |