[Android] Change seek method on flush

Geoffrey Métais git at videolan.org
Thu Jun 22 13:09:23 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jun 22 10:39:02 2017 +0200| [ac8b2513cad9e4c22c5a64b1de7659c7dad548a1] | committer: Geoffrey Métais

Change seek method on flush

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

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

diff --git a/vlc-android/src/org/videolan/vlc/PlaybackService.java b/vlc-android/src/org/videolan/vlc/PlaybackService.java
index 3bb30bad4..7bb459a24 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -2061,7 +2061,7 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo
         if (isSeekable()) {
             long time = getTime();
             if (time > 0 )
-                setTime(time);
+                seek(time);
         }
     }
 



More information about the Android mailing list