Skip to content
Snippets Groups Projects
Commit 932346e7 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Fix playback notification icon

video icon was incorrectly chosen because of MEDIA_FORCE_AUDIO flag

(cherry picked from commit 97462bd4)
parent 024da2c6
No related branches found
No related tags found
No related merge requests found
......@@ -679,7 +679,7 @@ class PlaybackService : MediaBrowserServiceCompat(), CoroutineScope, LifecycleOw
cover = BitmapFactory.decodeResource(ctx.resources, R.drawable.ic_no_media)
notification = NotificationHelper.createPlaybackNotification(ctx,
mw.hasFlag(AbstractMediaWrapper.MEDIA_FORCE_AUDIO), title, artist, album,
canSwitchToVideo(), title, artist, album,
cover, playing, isPausable, sessionToken, sessionPendingIntent)
if (isPlayingPopup) return@launch
if (!AndroidUtil.isLolliPopOrLater || playing || audioFocusHelper.lossTransient) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment