[Android] Correctly update video seekbar on next/previous

Alexandre Perraud git at videolan.org
Wed Feb 8 17:29:17 CET 2017


vlc-android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Wed Feb  8 17:22:27 2017 +0100| [ba3ed4633af363d355de0e351c8502267333838c] | committer: Alexandre Perraud

Correctly update video seekbar on next/previous

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

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

diff --git a/vlc-android/src/org/videolan/vlc/PlaybackService.java b/vlc-android/src/org/videolan/vlc/PlaybackService.java
index 6332e9d..04b0249 100644
--- a/vlc-android/src/org/videolan/vlc/PlaybackService.java
+++ b/vlc-android/src/org/videolan/vlc/PlaybackService.java
@@ -1326,6 +1326,7 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo
         mVideoBackground = !isVideoPlaying() && canSwitchToVideo();
         playIndex(mCurrentIndex, 0);
         saveCurrentMedia();
+        mHandler.sendEmptyMessage(SHOW_PROGRESS);
     }
 
     @MainThread
@@ -1345,6 +1346,7 @@ public class PlaybackService extends MediaBrowserServiceCompat implements IVLCVo
             saveCurrentMedia();
         } else
             setPosition(0f);
+        mHandler.sendEmptyMessage(SHOW_PROGRESS);
     }
 
     @MainThread



More information about the Android mailing list