diff options
-rw-r--r-- | src/github/daneren2005/dsub/util/ImageLoader.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/github/daneren2005/dsub/util/ImageLoader.java b/src/github/daneren2005/dsub/util/ImageLoader.java index 1b91b778..ccdb3432 100644 --- a/src/github/daneren2005/dsub/util/ImageLoader.java +++ b/src/github/daneren2005/dsub/util/ImageLoader.java @@ -293,7 +293,7 @@ public class ImageLoader { protected Void doInBackground() throws Throwable { try { MusicService musicService = MusicServiceFactory.getMusicService(mContext); - Bitmap bitmap = musicService.getCoverArt(mContext, mEntry, mSize, null); + Bitmap bitmap = musicService.getCoverArt(mContext, mEntry, mSize, null, this); String key = getKey(mEntry.getCoverArt(), mSize); cache.put(key, bitmap); // Make sure key is the most recently "used" @@ -361,7 +361,7 @@ public class ImageLoader { protected Void doInBackground() throws Throwable { try { MusicService musicService = MusicServiceFactory.getMusicService(mContext); - Bitmap bitmap = musicService.getAvatar(mUsername, avatarSizeDefault, mContext, null); + Bitmap bitmap = musicService.getAvatar(mUsername, avatarSizeDefault, mContext, null, this); if(bitmap != null) { cache.put(mUsername, bitmap); // Make sure key is the most recently "used" |