diff --git a/android/src/main/java/com/bitmovin/player/reactnative/services/MediaSessionPlaybackService.kt b/android/src/main/java/com/bitmovin/player/reactnative/services/MediaSessionPlaybackService.kt index e19378c7..ed083b3b 100644 --- a/android/src/main/java/com/bitmovin/player/reactnative/services/MediaSessionPlaybackService.kt +++ b/android/src/main/java/com/bitmovin/player/reactnative/services/MediaSessionPlaybackService.kt @@ -32,17 +32,6 @@ class MediaSessionPlaybackService : MediaSessionService() { override fun onGetSession(): MediaSession? = mediaSession - override fun onCreate() { - super.onCreate() - val player = this.player ?: Player(this) - - mediaSession = MediaSession( - this, - mainLooper, - player, - ) - } - override fun onDestroy() { binder.disconnectSession()