Hopefully fixed the bitmap recycled issue by setting noCache() in playing notification and widget

This commit is contained in:
Karim Abou Zeid 2015-04-20 00:08:02 +02:00
commit 1a8d20bde4
5 changed files with 5 additions and 5 deletions

View file

@ -354,6 +354,7 @@ public class MusicService extends Service implements MediaPlayer.OnPreparedListe
if (remoteControlClientAlbumArtTask != null) remoteControlClientAlbumArtTask.cancel();
remoteControlClientAlbumArtTask = Ion.with(this)
.load(MusicUtil.getAlbumArtUri(song.albumId).toString())
.noCache()
.asBitmap()
.setCallback(new FutureCallback<Bitmap>() {
@Override