We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 273c632 commit d92e6e9Copy full SHA for d92e6e9
app/src/main/java/org/jellyfin/mobile/player/interaction/PlayerNotificationHelper.kt
@@ -63,7 +63,7 @@ class PlayerNotificationHelper(private val viewModel: PlayerViewModel) : KoinCom
63
}
64
65
66
- @Suppress("DEPRECATION", "LongMethod")
+ @Suppress("DEPRECATION", "LongMethod", "CyclomaticComplexMethod")
67
fun postNotification() {
68
val nm = notificationManager ?: return
69
val player = viewModel.playerOrNull ?: return
@@ -128,7 +128,7 @@ class PlayerNotificationHelper(private val viewModel: PlayerViewModel) : KoinCom
128
viewModel.mediaSession.setMetadata(
129
MediaMetadata.Builder(it)
130
.putBitmap(MediaMetadata.METADATA_KEY_ART, mediaIcon)
131
- .build()
+ .build(),
132
)
133
134
0 commit comments