summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaniel oeh <daniel.oeh@gmail.com>2012-09-23 16:47:40 +0200
committerdaniel oeh <daniel.oeh@gmail.com>2012-09-23 16:47:40 +0200
commit0d9233d67acf2f9cdfb8805b37628ca61da07f80 (patch)
tree2143d95210431b74a9adabbb9806817ddd72e9f7
parent92feabbb5d2cf1362812a5c71bc27d9b8820093f (diff)
downloadAntennaPod-0d9233d67acf2f9cdfb8805b37628ca61da07f80.zip
set feedfiletype in DownloadStatus contructor
-rw-r--r--src/de/danoeh/antennapod/asynctask/DownloadStatus.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/de/danoeh/antennapod/asynctask/DownloadStatus.java b/src/de/danoeh/antennapod/asynctask/DownloadStatus.java
index d9b6a7850..cede8c71f 100644
--- a/src/de/danoeh/antennapod/asynctask/DownloadStatus.java
+++ b/src/de/danoeh/antennapod/asynctask/DownloadStatus.java
@@ -51,6 +51,9 @@ public class DownloadStatus {
public DownloadStatus(FeedFile feedfile, String title) {
this.feedfile = feedfile;
+ if (feedfile != null) {
+ feedfileType = feedfile.getTypeAsInt();
+ }
this.title = title;
}