[Android] [PATCH] VideoPlayerActivity: also disable seek buttons when locked

Geoffrey Métais geoffrey.metais at gmail.com
Thu Nov 6 13:12:35 CET 2014


LGTM

On Thu, Nov 6, 2014 at 11:34 AM, Thomas Guillem <thomas at gllm.fr> wrote:

> ---
>  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
>
> _______________________________________________
> Android mailing list
> Android at videolan.org
> https://mailman.videolan.org/listinfo/android
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/android/attachments/20141106/8bded41c/attachment.html>


More information about the Android mailing list