diff --git a/app/src/main/kotlin/it/vfsfitvnm/vimusic/service/PlayerService.kt b/app/src/main/kotlin/it/vfsfitvnm/vimusic/service/PlayerService.kt index 3544ec2..d030503 100644 --- a/app/src/main/kotlin/it/vfsfitvnm/vimusic/service/PlayerService.kt +++ b/app/src/main/kotlin/it/vfsfitvnm/vimusic/service/PlayerService.kt @@ -220,11 +220,7 @@ class PlayerService : InvincibleService(), Player.Listener, PlaybackStatsListene override fun onTaskRemoved(rootIntent: Intent?) { if (!player.shouldBePlaying) { - if (isPersistentQueueEnabled) { - broadCastPendingIntent().send() - } else { - stopSelf() - } + broadCastPendingIntent().send() } super.onTaskRemoved(rootIntent) }