[Android] Revert "Force previous track on Assistant command"

Geoffrey Métais git at videolan.org
Wed Jul 25 09:47:59 CEST 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Jul 25 09:42:46 2018 +0200| [fea67bda8d294c0496d870ce373ecb59cc1288b8] | committer: Geoffrey Métais

Revert "Force previous track on Assistant command"

This reverts commit bf714f120795b01087b647a033e23824c349e8f8.

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

 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 3fd32a253..088ce08b1 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(true)
+    override fun onSkipToPrevious() = playbackService.previous(false)
 
     override fun onSeekTo(pos: Long) = playbackService.seek(if (pos < 0) playbackService.time + pos else pos)
 



More information about the Android mailing list