Skip to content
Snippets Groups Projects
Commit ed2c18f6 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

No need to call http donwload here anymore

parent 337231bf
No related branches found
No related tags found
No related merge requests found
......@@ -132,11 +132,8 @@ public class AsyncImageLoader {
public Bitmap getImage() {
if (bindChanged)
return null;
String artworkUrl = item.getArtworkMrl();
if (item instanceof MediaGroup)
return ThumbnailsProvider.getComposedImage((MediaGroup) item);
if (!TextUtils.isEmpty(artworkUrl) && artworkUrl.startsWith("http"))
return HttpImageLoader.downloadBitmap(artworkUrl);
return AudioUtil.readCoverBitmap(Uri.decode(item.getArtworkMrl()), width);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment