From feceffe314271e1d801c9555ce8b112d3e1eaa46 Mon Sep 17 00:00:00 2001 From: vfsfitvnm Date: Thu, 3 Nov 2022 07:58:46 +0100 Subject: [PATCH] Fix #499 --- .../kotlin/it/vfsfitvnm/vimusic/service/PlayerService.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 27287c0..4c7fc46 100644 --- a/app/src/main/kotlin/it/vfsfitvnm/vimusic/service/PlayerService.kt +++ b/app/src/main/kotlin/it/vfsfitvnm/vimusic/service/PlayerService.kt @@ -130,10 +130,13 @@ class PlayerService : InvincibleService(), Player.Listener, PlaybackStatsListene .setActions( PlaybackState.ACTION_PLAY or PlaybackState.ACTION_PAUSE + or PlaybackState.ACTION_PLAY_PAUSE + or PlaybackState.ACTION_STOP or PlaybackState.ACTION_SKIP_TO_PREVIOUS or PlaybackState.ACTION_SKIP_TO_NEXT - or PlaybackState.ACTION_PLAY_PAUSE + or PlaybackState.ACTION_SKIP_TO_QUEUE_ITEM or PlaybackState.ACTION_SEEK_TO + or PlaybackState.ACTION_REWIND ) private val metadataBuilder = MediaMetadata.Builder()