Commit d522eee9 authored by Alexandre Perraud's avatar Alexandre Perraud Committed by Edward Wang

AudioService: Show artist in lock screen

Fix #11641
Signed-off-by: Edward Wang's avatarEdward Wang <edward.c.wang@compdigitec.com>
parent 49174a6f
......@@ -890,6 +890,7 @@ public class AudioService extends Service {
MetadataEditor editor = mRemoteControlClient.editMetadata(true);
editor.putString(MediaMetadataRetriever.METADATA_KEY_ALBUM, media.getAlbum());
editor.putString(MediaMetadataRetriever.METADATA_KEY_ARTIST, media.getArtist());
editor.putString(MediaMetadataRetriever.METADATA_KEY_ALBUMARTIST, media.getArtist());
editor.putString(MediaMetadataRetriever.METADATA_KEY_GENRE, media.getGenre());
editor.putString(MediaMetadataRetriever.METADATA_KEY_TITLE, media.getTitle());
editor.putLong(MediaMetadataRetriever.METADATA_KEY_DURATION, media.getLength());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment