[Android] No key action when setting delay or playback speed
Geoffrey Métais
git at videolan.org
Wed Apr 20 15:33:56 CEST 2016
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Apr 20 14:58:17 2016 +0200| [4e9e2b851c80571ca493f4d0f123768f334b0df0] | committer: Geoffrey Métais
No key action when setting delay or playback speed
> https://code.videolan.org/videolan/vlc-android/commit/4e9e2b851c80571ca493f4d0f123768f334b0df0
---
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 fd7284b..2762fb8 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -1088,6 +1088,8 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
public boolean onKeyDown(int keyCode, KeyEvent event) {
if (keyCode == KeyEvent.KEYCODE_BACK || keyCode == KeyEvent.KEYCODE_BUTTON_B)
return super.onKeyDown(keyCode, event);
+ if (mPlaybackSetting != DelayState.OFF)
+ return false;
if (mIsLoading) {
switch (keyCode) {
case KeyEvent.KEYCODE_S:
More information about the Android
mailing list