Skip to content

Commit

Permalink
Merge branch 'feature/android-enable-lock-screen-controls' into featu…
Browse files Browse the repository at this point in the history
…re/android-extend-mediasession-for-simple-bg-playback

# Conflicts:
#	android/src/main/java/com/bitmovin/player/reactnative/BackgroundPlaybackManager.kt
  • Loading branch information
123mpozzi committed Oct 24, 2024
2 parents fca2dda + c78df51 commit d534946
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit d534946

Please sign in to comment.