Glimpse: Don't add GIF decoder
ImageDecoderDecoder supports GIFs since API 28
Change-Id: Ia4edf8fb6e104a070d23174436420fd322142cee
diff --git a/app/src/main/java/org/lineageos/glimpse/GlimpseApplication.kt b/app/src/main/java/org/lineageos/glimpse/GlimpseApplication.kt
index ca6e7c6..8be1a44 100644
--- a/app/src/main/java/org/lineageos/glimpse/GlimpseApplication.kt
+++ b/app/src/main/java/org/lineageos/glimpse/GlimpseApplication.kt
@@ -8,7 +8,6 @@
import android.app.Application
import coil.ImageLoader
import coil.ImageLoaderFactory
-import coil.decode.GifDecoder
import coil.decode.ImageDecoderDecoder
import coil.decode.VideoFrameDecoder
import coil.memory.MemoryCache
@@ -24,7 +23,6 @@
override fun newImageLoader() = ImageLoader.Builder(this).components {
add(ImageDecoderDecoder.Factory())
- add(GifDecoder.Factory())
add(VideoFrameDecoder.Factory())
}.memoryCache {
MemoryCache.Builder(this).maxSizePercent(0.25).build()