[Android] Force previous track on Assistant command

Geoffrey Métais git at videolan.org
Thu Jul 12 18:54:45 CEST 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jul 12 11:48:57 2018 +0200| [bf714f120795b01087b647a033e23824c349e8f8] | committer: Geoffrey Métais

Force previous track on Assistant command

> https://code.videolan.org/videolan/vlc-android/commit/bf714f120795b01087b647a033e23824c349e8f8
---

 vlc-android/src/org/videolan/vlc/MediaSessionCallback.kt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/MediaSessionCallback.kt b/vlc-android/src/org/videolan/vlc/MediaSessionCallback.kt
index 13ad2b026..001bb49c9 100644
--- a/vlc-android/src/org/videolan/vlc/MediaSessionCallback.kt
+++ b/vlc-android/src/org/videolan/vlc/MediaSessionCallback.kt
@@ -109,7 +109,7 @@ internal class MediaSessionCallback(private val playbackService: PlaybackService
 
     override fun onSkipToNext() = playbackService.next()
 
-    override fun onSkipToPrevious() = playbackService.previous(false)
+    override fun onSkipToPrevious() = playbackService.previous(true)
 
     override fun onSeekTo(pos: Long) = playbackService.seek(pos)
 



More information about the Android mailing list