diff options
author | ByteHamster <ByteHamster@users.noreply.github.com> | 2024-03-17 20:25:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-17 20:25:44 +0100 |
commit | 2d77b1f11802da28cbcd87c9456bcc7ee3abf2a0 (patch) | |
tree | 7f54438ed59eee3272cd38dab79f8ebfe291e9e4 /ui/glide | |
parent | b84a05bd4e2bf2d10b7791155cc0a7a0e5aa3dcf (diff) | |
download | AntennaPod-2d77b1f11802da28cbcd87c9456bcc7ee3abf2a0.zip |
Remove dependency from :ui:glide to :core module (#6998)
Diffstat (limited to 'ui/glide')
3 files changed, 5 insertions, 4 deletions
diff --git a/ui/glide/build.gradle b/ui/glide/build.gradle index d518e1d69..c281fbf04 100644 --- a/ui/glide/build.gradle +++ b/ui/glide/build.gradle @@ -10,7 +10,7 @@ android { dependencies { implementation project(":model") - implementation project(":core") + implementation project(':net:common') implementation project(':storage:preferences') implementation "androidx.palette:palette:$paletteVersion" diff --git a/ui/glide/src/main/java/de/danoeh/antennapod/ui/glide/ApOkHttpUrlLoader.java b/ui/glide/src/main/java/de/danoeh/antennapod/ui/glide/ApOkHttpUrlLoader.java index 3814c0700..d66f08ec8 100644 --- a/ui/glide/src/main/java/de/danoeh/antennapod/ui/glide/ApOkHttpUrlLoader.java +++ b/ui/glide/src/main/java/de/danoeh/antennapod/ui/glide/ApOkHttpUrlLoader.java @@ -10,10 +10,10 @@ import com.bumptech.glide.load.model.ModelLoader; import com.bumptech.glide.load.model.ModelLoaderFactory; import com.bumptech.glide.load.model.MultiModelLoaderFactory; import com.bumptech.glide.signature.ObjectKey; -import de.danoeh.antennapod.core.service.download.AntennapodHttpClient; -import de.danoeh.antennapod.core.util.NetworkUtils; import de.danoeh.antennapod.model.feed.Feed; import de.danoeh.antennapod.model.feed.FeedMedia; +import de.danoeh.antennapod.net.common.AntennapodHttpClient; +import de.danoeh.antennapod.net.common.NetworkUtils; import okhttp3.Interceptor; import okhttp3.OkHttpClient; import okhttp3.Protocol; diff --git a/ui/glide/src/main/java/de/danoeh/antennapod/ui/glide/ChapterImageModelLoader.java b/ui/glide/src/main/java/de/danoeh/antennapod/ui/glide/ChapterImageModelLoader.java index 9f82e0b31..3f6aa7c48 100644 --- a/ui/glide/src/main/java/de/danoeh/antennapod/ui/glide/ChapterImageModelLoader.java +++ b/ui/glide/src/main/java/de/danoeh/antennapod/ui/glide/ChapterImageModelLoader.java @@ -9,13 +9,14 @@ import com.bumptech.glide.load.model.ModelLoader; import com.bumptech.glide.load.model.ModelLoaderFactory; import com.bumptech.glide.load.model.MultiModelLoaderFactory; import com.bumptech.glide.signature.ObjectKey; -import de.danoeh.antennapod.core.service.download.AntennapodHttpClient; import de.danoeh.antennapod.model.feed.EmbeddedChapterImage; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.nio.ByteBuffer; + +import de.danoeh.antennapod.net.common.AntennapodHttpClient; import okhttp3.Request; import okhttp3.Response; import org.apache.commons.io.IOUtils; |