diff options
author | ByteHamster <info@bytehamster.com> | 2023-11-05 08:27:34 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2023-11-05 08:27:34 +0100 |
commit | f7a13065a9c92ba26d3686aeb18269f2313bd0b6 (patch) | |
tree | f7f7a49aa65acc295cc99dc0e3e870a1f5f4130f /net/download | |
parent | 2c3fb5610a98d80db25b85fdf0607bfc2b6216fc (diff) | |
parent | 8d4270ab87d82dadccab177f6710637b28750c7a (diff) | |
download | AntennaPod-f7a13065a9c92ba26d3686aeb18269f2313bd0b6.zip |
Merge branch 'master' into develop
Diffstat (limited to 'net/download')
2 files changed, 4 insertions, 2 deletions
diff --git a/net/download/service-interface/src/main/java/de/danoeh/antennapod/net/download/serviceinterface/DownloadServiceInterface.java b/net/download/service-interface/src/main/java/de/danoeh/antennapod/net/download/serviceinterface/DownloadServiceInterface.java index 5fac79ce8..a04c24ee4 100644 --- a/net/download/service-interface/src/main/java/de/danoeh/antennapod/net/download/serviceinterface/DownloadServiceInterface.java +++ b/net/download/service-interface/src/main/java/de/danoeh/antennapod/net/download/serviceinterface/DownloadServiceInterface.java @@ -3,6 +3,7 @@ package de.danoeh.antennapod.net.download.serviceinterface; import android.content.Context; import de.danoeh.antennapod.model.download.DownloadStatus; import de.danoeh.antennapod.model.feed.FeedItem; +import de.danoeh.antennapod.model.feed.FeedMedia; import java.util.HashMap; import java.util.Map; @@ -38,7 +39,7 @@ public abstract class DownloadServiceInterface { */ public abstract void download(Context context, FeedItem item); - public abstract void cancel(Context context, String url); + public abstract void cancel(Context context, FeedMedia media); public abstract void cancelAll(Context context); diff --git a/net/download/service-interface/src/main/java/de/danoeh/antennapod/net/download/serviceinterface/DownloadServiceInterfaceStub.java b/net/download/service-interface/src/main/java/de/danoeh/antennapod/net/download/serviceinterface/DownloadServiceInterfaceStub.java index 716d68d14..70f551a9c 100644 --- a/net/download/service-interface/src/main/java/de/danoeh/antennapod/net/download/serviceinterface/DownloadServiceInterfaceStub.java +++ b/net/download/service-interface/src/main/java/de/danoeh/antennapod/net/download/serviceinterface/DownloadServiceInterfaceStub.java @@ -2,6 +2,7 @@ package de.danoeh.antennapod.net.download.serviceinterface; import android.content.Context; import de.danoeh.antennapod.model.feed.FeedItem; +import de.danoeh.antennapod.model.feed.FeedMedia; public class DownloadServiceInterfaceStub extends DownloadServiceInterface { @@ -14,7 +15,7 @@ public class DownloadServiceInterfaceStub extends DownloadServiceInterface { } @Override - public void cancel(Context context, String url) { + public void cancel(Context context, FeedMedia media) { } @Override |