Commit 15f65c3a authored by Geoffrey Métais's avatar Geoffrey Métais

Do not look in cache in readCoverBitmap

parent 1673e4fc
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment