diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2012-09-23 16:47:40 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2012-09-23 16:47:40 +0200 |
commit | 0d9233d67acf2f9cdfb8805b37628ca61da07f80 (patch) | |
tree | 2143d95210431b74a9adabbb9806817ddd72e9f7 | |
parent | 92feabbb5d2cf1362812a5c71bc27d9b8820093f (diff) | |
download | AntennaPod-0d9233d67acf2f9cdfb8805b37628ca61da07f80.zip |
set feedfiletype in DownloadStatus contructor
-rw-r--r-- | src/de/danoeh/antennapod/asynctask/DownloadStatus.java | 3 |
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; } |