[Android] VideoPlayer: update Seekable/Pausable when run from PlaybackService
Thomas Guillem
git at videolan.org
Thu Oct 22 15:41:09 CEST 2015
vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Oct 22 15:40:22 2015 +0200| [d4be95d64aa21da0a2128ac79b2a6ab81f75ce10] | committer: Thomas Guillem
VideoPlayer: update Seekable/Pausable when run from PlaybackService
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=d4be95d64aa21da0a2128ac79b2a6ab81f75ce10
---
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index 95f3180..9786c33 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -2685,6 +2685,8 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
mUri = openedMedia.getUri();
itemTitle = openedMedia.getTitle();
savedIndexPosition = openedPosition;
+ updateSeekable(mService.isSeekable());
+ updatePausable(mService.isPausable());
}
if (mUri != null) {
More information about the Android
mailing list