Remove songs from Queue when deleting songs on R
This commit is contained in:
parent
bc93ff49b4
commit
c6f6317839
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue