fix(android): fix android notification controller order (#4002)

This commit is contained in:
YangJH 2024-07-15 17:14:31 +09:00 committed by GitHub
parent 38bcfa2f6a
commit 05623c9f54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,7 +58,7 @@ class VideoPlaybackService : MediaSessionService() {
val mediaSession = MediaSession.Builder(this, player) val mediaSession = MediaSession.Builder(this, player)
.setId("RNVideoPlaybackService_" + player.hashCode()) .setId("RNVideoPlaybackService_" + player.hashCode())
.setCallback(VideoPlaybackCallback()) .setCallback(VideoPlaybackCallback())
.setCustomLayout(immutableListOf(seekBackwardBtn, seekForwardBtn)) .setCustomLayout(immutableListOf(seekForwardBtn, seekBackwardBtn))
.build() .build()
mediaSessionsList[player] = mediaSession mediaSessionsList[player] = mediaSession