[Android] AdvOptionsDialog: handle Seekable/Pausable

Thomas Guillem git at videolan.org
Thu Oct 22 11:01:19 CEST 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Oct 22 10:58:59 2015 +0200| [54959556a6fd41bcd25279e37e9828cef136e11b] | committer: Thomas Guillem

AdvOptionsDialog: handle Seekable/Pausable

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=54959556a6fd41bcd25279e37e9828cef136e11b
---

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

diff --git a/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java b/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java
index 3d3bbe5..033b6f5 100644
--- a/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java
+++ b/vlc-android/src/org/videolan/vlc/gui/dialogs/AdvOptionsDialog.java
@@ -357,6 +357,8 @@ public class AdvOptionsDialog extends DialogFragment implements View.OnClickList
 
         initSleep();
         initPlaybackSpeed();
+        mPlaybackSpeed.setEnabled(mService.isSeekable());
+        mJumpTitle.setEnabled(mService.isSeekable());
 
         if (mMode == MODE_VIDEO) {
             // Init Chapter



More information about the Android mailing list