From 0d9233d67acf2f9cdfb8805b37628ca61da07f80 Mon Sep 17 00:00:00 2001 From: daniel oeh Date: Sun, 23 Sep 2012 16:47:40 +0200 Subject: [PATCH] set feedfiletype in DownloadStatus contructor --- src/de/danoeh/antennapod/asynctask/DownloadStatus.java | 3 +++ 1 file changed, 3 insertions(+) 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; }