fix(android): fix android notification controller order (#4002)
This commit is contained in:
parent
38bcfa2f6a
commit
05623c9f54
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user