diff options
| author | Jeff Sharkey <jsharkey@android.com> | 2019-04-09 10:11:25 -0600 |
|---|---|---|
| committer | Jeff Sharkey <jsharkey@android.com> | 2019-04-09 10:11:28 -0600 |
| commit | 56c021ffd8490a7cfc815ee76f7109e8a1621df7 (patch) | |
| tree | 49ecbb0d1b408f911b1d83d23e6e73565e1d749c /core/java | |
| parent | e9d146ec9acd932f906d68cf836bb162bde7f7ab (diff) | |
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
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/provider/MediaStore.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/core/java/android/provider/MediaStore.java b/core/java/android/provider/MediaStore.java index bda6ed19d3c1..0b1647d05ef4 100644 --- a/core/java/android/provider/MediaStore.java +++ b/core/java/android/provider/MediaStore.java @@ -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"; |
