[Android] [PATCH] VideoPlayerActivity: also disable seek buttons when locked
Thomas Guillem
thomas at gllm.fr
Thu Nov 6 11:34:13 CET 2014
---
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 4 ++++
1 file changed, 4 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 6172d43..3a3d3e8 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -882,6 +882,8 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
mTime.setEnabled(false);
mSeekbar.setEnabled(false);
mLength.setEnabled(false);
+ mBackward.setEnabled(false);
+ mForward.setEnabled(false);
hideOverlay(true);
}
@@ -896,6 +898,8 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
mTime.setEnabled(true);
mSeekbar.setEnabled(true);
mLength.setEnabled(true);
+ mBackward.setEnabled(true);
+ mForward.setEnabled(true);
mShowing = false;
showOverlay();
}
--
2.1.1
More information about the Android
mailing list