[Android] Do not look in cache in readCoverBitmap
Geoffrey Métais
git at videolan.org
Fri Feb 24 16:53:33 CET 2017
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Feb 24 16:51:51 2017 +0100| [15f65c3a73729c7c9e88d413b62cf5aa0dca874d] | committer: Geoffrey Métais
Do not look in cache in readCoverBitmap
> https://code.videolan.org/videolan/vlc-android/commit/15f65c3a73729c7c9e88d413b62cf5aa0dca874d
---
vlc-android/src/org/videolan/vlc/gui/helpers/AudioUtil.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/helpers/AudioUtil.java b/vlc-android/src/org/videolan/vlc/gui/helpers/AudioUtil.java
index f03a320..d8bbe98 100644
--- a/vlc-android/src/org/videolan/vlc/gui/helpers/AudioUtil.java
+++ b/vlc-android/src/org/videolan/vlc/gui/helpers/AudioUtil.java
@@ -382,9 +382,7 @@ public class AudioUtil {
return null;
if (path.startsWith("file"))
path = path.substring(7);
- Bitmap cover = BitmapCache.getInstance().getBitmapFromMemCache(path);
- if (cover != null)
- return cover;
+ Bitmap cover = null;
BitmapFactory.Options options = new BitmapFactory.Options();
/* Get the resolution of the bitmap without allocating the memory */
More information about the Android
mailing list