Suppress deprecated warnings

We can't do much about these. We have to work with playlists even though they are deprecated.
This commit is contained in:
Prathamesh More 2022-05-05 11:57:44 +05:30
parent 08f4c62b4a
commit 07cfd6cd6e
2 changed files with 2 additions and 2 deletions

View file

@ -51,7 +51,7 @@ interface PlaylistRepository {
fun playlistSongs(playlistId: Long): List<Song> fun playlistSongs(playlistId: Long): List<Song>
} }
@Suppress("Deprecation")
class RealPlaylistRepository( class RealPlaylistRepository(
private val contentResolver: ContentResolver private val contentResolver: ContentResolver
) : PlaylistRepository { ) : PlaylistRepository {

View file

@ -30,7 +30,7 @@ import code.name.monkey.retromusic.model.Song
/** /**
* Created by hemanths on 16/08/17. * Created by hemanths on 16/08/17.
*/ */
@Suppress("Deprecation")
object PlaylistSongsLoader { object PlaylistSongsLoader {
@JvmStatic @JvmStatic