summaryrefslogtreecommitdiff
path: root/net/download
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2023-11-05 08:27:34 +0100
committerByteHamster <info@bytehamster.com>2023-11-05 08:27:34 +0100
commitf7a13065a9c92ba26d3686aeb18269f2313bd0b6 (patch)
treef7f7a49aa65acc295cc99dc0e3e870a1f5f4130f /net/download
parent2c3fb5610a98d80db25b85fdf0607bfc2b6216fc (diff)
parent8d4270ab87d82dadccab177f6710637b28750c7a (diff)
downloadAntennaPod-f7a13065a9c92ba26d3686aeb18269f2313bd0b6.zip
Merge branch 'master' into develop
Diffstat (limited to 'net/download')
-rw-r--r--net/download/service-interface/src/main/java/de/danoeh/antennapod/net/download/serviceinterface/DownloadServiceInterface.java3
-rw-r--r--net/download/service-interface/src/main/java/de/danoeh/antennapod/net/download/serviceinterface/DownloadServiceInterfaceStub.java3
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