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:
parent
08f4c62b4a
commit
07cfd6cd6e
2 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue