[Android] No need to call http donwload here anymore

Geoffrey Métais git at videolan.org
Fri Jun 16 16:36:04 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Jun 16 11:34:39 2017 +0200| [ed2c18f63169e5426629487bd70054bb40905715] | committer: Geoffrey Métais

No need to call http donwload here anymore

> https://code.videolan.org/videolan/vlc-android/commit/ed2c18f63169e5426629487bd70054bb40905715
---

 vlc-android/src/org/videolan/vlc/gui/helpers/AsyncImageLoader.java | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/helpers/AsyncImageLoader.java b/vlc-android/src/org/videolan/vlc/gui/helpers/AsyncImageLoader.java
index 8a974e679..875f0010b 100644
--- a/vlc-android/src/org/videolan/vlc/gui/helpers/AsyncImageLoader.java
+++ b/vlc-android/src/org/videolan/vlc/gui/helpers/AsyncImageLoader.java
@@ -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);
         }
 



More information about the Android mailing list