diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2013-10-09 19:52:33 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2013-10-09 19:52:33 +0200 |
commit | df9f6661e140ca7ea5fa24897b74071f49f9e86d (patch) | |
tree | 1b7d13315062e8f4721215da67d69029d8d0b119 /src/de/danoeh/antennapod/storage | |
parent | 09b93a8b4b9e1bf050c683a88503d695bea701fa (diff) | |
download | AntennaPod-df9f6661e140ca7ea5fa24897b74071f49f9e86d.zip |
Fixed a bug that might cause the wrong episode to be auto-deleted
Diffstat (limited to 'src/de/danoeh/antennapod/storage')
-rw-r--r-- | src/de/danoeh/antennapod/storage/DBTasks.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/de/danoeh/antennapod/storage/DBTasks.java b/src/de/danoeh/antennapod/storage/DBTasks.java index 6b611bbbf..26d5c712a 100644 --- a/src/de/danoeh/antennapod/storage/DBTasks.java +++ b/src/de/danoeh/antennapod/storage/DBTasks.java @@ -509,7 +509,7 @@ public final class DBTasks { for (FeedItem item : delete) { try { - DBWriter.deleteFeedMediaOfItem(context, item.getId()).get(); + DBWriter.deleteFeedMediaOfItem(context, item.getMedia().getId()).get(); } catch (InterruptedException e) { e.printStackTrace(); } catch (ExecutionException e) { |