mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-01-22 23:17:00 +00:00
media browser: remove leftover Java comments
This commit is contained in:
parent
9f26137b9c
commit
7062009223
@ -89,8 +89,6 @@ class PlayerService : MediaBrowserServiceCompat() {
|
||||
}
|
||||
}
|
||||
|
||||
// Suppress Sonar warning to not always return the same value, as we need to do some actions
|
||||
// before returning
|
||||
override fun onStartCommand(
|
||||
intent: Intent,
|
||||
flags: Int,
|
||||
|
@ -350,8 +350,6 @@ class MediaBrowserConnector(private val playerService: PlayerService) : Playback
|
||||
bookmarksNotificationsDisposable?.dispose()
|
||||
}
|
||||
|
||||
// Suppress Sonar warning replace list collection by Stream.toList call, as this method is only
|
||||
// available in Android API 34 and not currently available with desugaring
|
||||
private fun populateBookmarks() =
|
||||
playlists.firstOrError().map { playlist ->
|
||||
playlist.filterNotNull().map { createPlaylistMediaItem(it) }
|
||||
|
Loading…
Reference in New Issue
Block a user