Remove songs from Queue when deleting songs on R
parent
bc93ff49b4
commit
c6f6317839
|
@ -526,6 +526,7 @@ object MusicUtil : KoinComponent {
|
|||
|
||||
@RequiresApi(Build.VERSION_CODES.R)
|
||||
fun deleteTracksR(activity: Activity, songs: List<Song>) {
|
||||
removeFromQueue(songs)
|
||||
val pendingIntent = MediaStore.createDeleteRequest(activity.contentResolver, songs.map {
|
||||
getSongFileUri(it.id)
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue