1
0
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:
Haggai Eran 2024-09-17 22:37:45 +03:00 committed by Siddhesh Naik
parent 9f26137b9c
commit 7062009223
2 changed files with 0 additions and 4 deletions

View File

@ -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,

View File

@ -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) }