mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-02-02 12:19:16 +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(
|
override fun onStartCommand(
|
||||||
intent: Intent,
|
intent: Intent,
|
||||||
flags: Int,
|
flags: Int,
|
||||||
|
@ -350,8 +350,6 @@ class MediaBrowserConnector(private val playerService: PlayerService) : Playback
|
|||||||
bookmarksNotificationsDisposable?.dispose()
|
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() =
|
private fun populateBookmarks() =
|
||||||
playlists.firstOrError().map { playlist ->
|
playlists.firstOrError().map { playlist ->
|
||||||
playlist.filterNotNull().map { createPlaylistMediaItem(it) }
|
playlist.filterNotNull().map { createPlaylistMediaItem(it) }
|
||||||
|
Loading…
Reference in New Issue
Block a user