Fix double album art fetch.
b/3341452
Change-Id: I2a2fecb5452e87054ac5abeb833d737c87ab61bd
diff --git a/src/com/android/providers/media/MediaProvider.java b/src/com/android/providers/media/MediaProvider.java
index 681296f..11d9abf 100644
--- a/src/com/android/providers/media/MediaProvider.java
+++ b/src/com/android/providers/media/MediaProvider.java
@@ -2546,7 +2546,7 @@
// If that fails, try to get it from this specific file.
Uri newUri = ContentUris.withAppendedId(ALBUMART_URI, albumid);
try {
- pfd = openFile(newUri, mode); // recursive call
+ pfd = openFileHelper(newUri, mode);
} catch (FileNotFoundException ex) {
// That didn't work, now try to get it from the specific file
pfd = getThumb(db, audiopath, albumid, null);