diff options
Diffstat (limited to 'storage/database')
-rw-r--r-- | storage/database/src/main/java/de/danoeh/antennapod/storage/database/PodDBAdapter.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/storage/database/src/main/java/de/danoeh/antennapod/storage/database/PodDBAdapter.java b/storage/database/src/main/java/de/danoeh/antennapod/storage/database/PodDBAdapter.java index 3cf7e37dc..9798a9fb3 100644 --- a/storage/database/src/main/java/de/danoeh/antennapod/storage/database/PodDBAdapter.java +++ b/storage/database/src/main/java/de/danoeh/antennapod/storage/database/PodDBAdapter.java @@ -1281,6 +1281,11 @@ public class PodDBAdapter { case SHOW_DOWNLOADED: whereRead = KEY_DOWNLOADED + "=1"; break; + case SHOW_DOWNLOADED_UNPLAYED: + whereRead = "(" + KEY_READ + "=" + FeedItem.NEW + + " OR " + KEY_READ + "=" + FeedItem.UNPLAYED + ")" + + " AND " + KEY_DOWNLOADED + "=1"; + break; case SHOW_NONE: // deliberate fall-through default: // NONE |