remove the RESOURCE cache from album covers

This commit is contained in:
tibbi 2018-02-12 13:02:18 +01:00
parent f36e51265a
commit 81157d59ff

View file

@ -17,7 +17,6 @@ import android.view.ViewGroup
import android.widget.SeekBar
import com.bumptech.glide.Glide
import com.bumptech.glide.load.DataSource
import com.bumptech.glide.load.engine.DiskCacheStrategy
import com.bumptech.glide.load.engine.GlideException
import com.bumptech.glide.request.RequestListener
import com.bumptech.glide.request.RequestOptions
@ -523,7 +522,7 @@ class MainActivity : SimpleActivity(), SongListListener {
}
private fun updateAlbumCover() {
val options = RequestOptions().placeholder(oldCover).diskCacheStrategy(DiskCacheStrategy.RESOURCE)
val options = RequestOptions().placeholder(oldCover)
Glide.with(this).clear(art_image)
Glide.with(this)
.load(MusicService.mCurrSongCover)