Added title attribute to every DownloadStatus constructor
This commit is contained in:
parent
82db128a66
commit
76e11c76b5
|
@ -42,8 +42,9 @@ public class DownloadStatus {
|
|||
protected int statusMsg;
|
||||
protected boolean done;
|
||||
|
||||
public DownloadStatus(FeedFile feedfile) {
|
||||
public DownloadStatus(FeedFile feedfile, String title) {
|
||||
this.feedfile = feedfile;
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
/** Constructor for restoring Download status entries from DB. */
|
||||
|
|
|
@ -281,7 +281,7 @@ public class DownloadService extends Service {
|
|||
FeedFile feedfile = requester.getDownload(request.source);
|
||||
if (feedfile != null) {
|
||||
|
||||
DownloadStatus status = new DownloadStatus(feedfile);
|
||||
DownloadStatus status = new DownloadStatus(feedfile, feedfile.getHumanReadableIdentifier());
|
||||
Downloader downloader = getDownloader(status);
|
||||
if (downloader != null) {
|
||||
downloads.add(downloader);
|
||||
|
|
Loading…
Reference in New Issue