mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2025-01-29 19:27:59 +01:00
do not force ARGB_8888 format at fullscreen media
This commit is contained in:
parent
d09acabdc3
commit
f7e7d83382
1 changed files with 0 additions and 2 deletions
|
@ -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 a new issue