[Android] [PATCH] AudioService : Show artist in lock screen

Alexandre Perraud 4leyx4ndre at gmail.com
Tue Aug 5 18:48:15 CEST 2014


Fix #11641
---
 vlc-android/src/org/videolan/vlc/audio/AudioService.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/audio/AudioService.java b/vlc-android/src/org/videolan/vlc/audio/AudioService.java
index 36ec05a..168950a 100644
--- a/vlc-android/src/org/videolan/vlc/audio/AudioService.java
+++ b/vlc-android/src/org/videolan/vlc/audio/AudioService.java
@@ -889,7 +889,7 @@ public class AudioService extends Service {
         if (mRemoteControlClient != null && media != null) {
             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());
-- 
1.9.1



More information about the Android mailing list