Fix lint issues.

This commit is contained in:
Isira Seneviratne 2023-02-08 06:31:01 +05:30
parent 2321ed22f1
commit df565bb8da
2 changed files with 4 additions and 2 deletions

View File

@ -297,7 +297,9 @@ class BackgroundMode : LifecycleService() {
val uri = if (streams.audioStreams.isNotEmpty()) { val uri = if (streams.audioStreams.isNotEmpty()) {
PlayerHelper.getAudioSource(this, streams.audioStreams) PlayerHelper.getAudioSource(this, streams.audioStreams)
} else streams.hls ?: return } else {
streams.hls ?: return
}
val mediaItem = MediaItem.Builder() val mediaItem = MediaItem.Builder()
.setUri(uri) .setUri(uri)