File tree Expand file tree Collapse file tree
app/src/main/java/org/schabi/newpipe/player Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,8 +89,6 @@ class PlayerService : MediaBrowserServiceCompat() {
8989 }
9090 }
9191
92- // Suppress Sonar warning to not always return the same value, as we need to do some actions
93- // before returning
9492 override fun onStartCommand (
9593 intent : Intent ,
9694 flags : Int ,
Original file line number Diff line number Diff line change @@ -350,8 +350,6 @@ class MediaBrowserConnector(private val playerService: PlayerService) : Playback
350350 bookmarksNotificationsDisposable?.dispose()
351351 }
352352
353- // Suppress Sonar warning replace list collection by Stream.toList call, as this method is only
354- // available in Android API 34 and not currently available with desugaring
355353 private fun populateBookmarks () =
356354 playlists.firstOrError().map { playlist ->
357355 playlist.filterNotNull().map { createPlaylistMediaItem(it) }
You can’t perform that action at this time.
0 commit comments