MediaScanner: disable album artist support until MediaProvider really supports it
Fixes a "no such column" exception in MediaProvider.update() that I somehow missed when testing the MediaProvider refactoring. Change-Id: Icc502a5c0e3bd150b353972d000b978a9e044abc Signed-off-by: Mike Lockwood <lockwood@android.com>
This commit is contained in:
@@ -644,8 +644,9 @@ public class MediaScanner
|
||||
} else if (MediaFile.isAudioFileType(mFileType)) {
|
||||
map.put(Audio.Media.ARTIST, (mArtist != null && mArtist.length() > 0) ?
|
||||
mArtist : MediaStore.UNKNOWN_STRING);
|
||||
map.put(Audio.Media.ALBUM_ARTIST, (mAlbumArtist != null &&
|
||||
mAlbumArtist.length() > 0) ? mAlbumArtist : null);
|
||||
// disable album artist support until MediaProvider really supports it
|
||||
// map.put(Audio.Media.ALBUM_ARTIST, (mAlbumArtist != null &&
|
||||
// mAlbumArtist.length() > 0) ? mAlbumArtist : null);
|
||||
map.put(Audio.Media.ALBUM, (mAlbum != null && mAlbum.length() > 0) ?
|
||||
mAlbum : MediaStore.UNKNOWN_STRING);
|
||||
map.put(Audio.Media.COMPOSER, mComposer);
|
||||
|
||||
Reference in New Issue
Block a user