mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 00:10:32 +05:30
fix background mode crash
This commit is contained in:
parent
93035c941f
commit
c9007e3456
@ -125,7 +125,7 @@ class BackgroundMode : Service() {
|
||||
val position = intent.getLongExtra("position", 0L)
|
||||
|
||||
// initialize the playlist autoPlay Helper
|
||||
if (playlistId != null) autoPlayHelper = AutoPlayHelper(playlistId!!)
|
||||
autoPlayHelper = AutoPlayHelper(playlistId)
|
||||
|
||||
// play the audio in the background
|
||||
playAudio(videoId, position)
|
||||
|
Loading…
x
Reference in New Issue
Block a user