Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d412c88b authored by Steve Kondik's avatar Steve Kondik
Browse files

Revert "save album artist to the ContentValues object."

This reverts commit be2d6d68.
parent da06cb64
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -802,15 +802,6 @@ public final class MediaStore {
             */
            public static final String ARTIST = "artist";

            /**
             * @hide
             * The artist who created the audio album, if any
             *  [ it does not get into the database yet, so hidden from
             *  public API ]
             *  <P>Type: TEXT</P>
             */
            public static final String ALBUM_ARTIST = "album_artist";
            
            /**
             * A non human readable key calculated from the ARTIST, used for
             * searching, sorting and grouping
+0 −1
Original line number Diff line number Diff line
@@ -656,7 +656,6 @@ public class MediaScanner
                map.put(Images.Media.DATE_TAKEN, mLastModified * 1000);
            } else if (MediaFile.isAudioFileType(mFileType)) {
                map.put(Audio.Media.ARTIST, (mArtist != null && mArtist.length() > 0 ? mArtist : MediaFile.UNKNOWN_STRING));
                map.put(Audio.Media.ALBUM_ARTIST, (mAlbumArtist != null && mAlbumArtist.length() > 0 ? mAlbumArtist : MediaFile.UNKNOWN_STRING));
                map.put(Audio.Media.ALBUM, (mAlbum != null && mAlbum.length() > 0 ? mAlbum : MediaFile.UNKNOWN_STRING));
                map.put(Audio.Media.COMPOSER, mComposer);
                if (mYear != 0) {