mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-01-18 12:39:42 +01:00
do not force ARGB_8888 format at fullscreen media
This commit is contained in:
parent
d09acabdc3
commit
f7e7d83382
@ -8,7 +8,6 @@ import android.graphics.drawable.Drawable
|
||||
import android.media.ExifInterface
|
||||
import android.net.Uri
|
||||
import com.bumptech.glide.Glide
|
||||
import com.bumptech.glide.load.DecodeFormat
|
||||
import com.bumptech.glide.load.engine.DiskCacheStrategy
|
||||
import com.bumptech.glide.request.RequestOptions
|
||||
import com.bumptech.glide.request.target.Target
|
||||
@ -26,7 +25,6 @@ class GlideDecoder : ImageDecoder {
|
||||
|
||||
val options = RequestOptions()
|
||||
.signature(uri.path.getFileSignature())
|
||||
.format(DecodeFormat.PREFER_ARGB_8888)
|
||||
.diskCacheStrategy(DiskCacheStrategy.RESOURCE)
|
||||
.override(targetWidth, targetHeight)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user