diff --git a/app/src/main/java/com/github/libretube/util/NowPlayingNotification.kt b/app/src/main/java/com/github/libretube/util/NowPlayingNotification.kt index 0c86e7eef..1511cbca8 100644 --- a/app/src/main/java/com/github/libretube/util/NowPlayingNotification.kt +++ b/app/src/main/java/com/github/libretube/util/NowPlayingNotification.kt @@ -288,6 +288,8 @@ class NowPlayingNotification( builder.putString(MediaMetadataCompat.METADATA_KEY_ALBUM_ART_URI, it) } + builder.putBitmap(MediaMetadataCompat.METADATA_KEY_ALBUM_ART, notificationBitmap) + val playerDuration = player.duration if (playerDuration != C.TIME_UNSET) { @@ -415,6 +417,7 @@ class NowPlayingNotification( } } .build() + mediaSession.setMetadata(getMetadataFromPlayer(player.mediaMetadata)) nManager.notify(PLAYER_NOTIFICATION_ID, notification) }