Add AlbumColumns.ARTIST_ID.
As pointed out by developers, we already have ARTIST, so we should also have ARTIST_ID. Bug: 130193406 Test: atest --test-mapping packages/providers/MediaProvider Change-Id: I46b4de38a08a1ebb6951d8329070438d142888ad
This commit is contained in:
@@ -2676,7 +2676,13 @@ public final class MediaStore {
|
||||
public static final String ALBUM = "album";
|
||||
|
||||
/**
|
||||
* The artist whose songs appear on this album
|
||||
* The ID of the artist whose songs appear on this album.
|
||||
*/
|
||||
@Column(value = Cursor.FIELD_TYPE_INTEGER, readOnly = true)
|
||||
public static final String ARTIST_ID = "artist_id";
|
||||
|
||||
/**
|
||||
* The name of the artist whose songs appear on this album.
|
||||
*/
|
||||
@Column(value = Cursor.FIELD_TYPE_STRING, readOnly = true)
|
||||
public static final String ARTIST = "artist";
|
||||
|
||||
Reference in New Issue
Block a user