[Android] Show advanced options with ↑

Geoffrey Métais git at videolan.org
Wed Apr 20 11:51:09 CEST 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Apr 20 11:42:48 2016 +0200| [67999950f1bf6b3ddf46871bc7578cfa164fd206] | committer: Geoffrey Métais

Show advanced options with ↑

> https://code.videolan.org/videolan/vlc-android/commit/67999950f1bf6b3ddf46871bc7578cfa164fd206
---

 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 d0f3215..fd7284b 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -1182,6 +1182,10 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
                 return true;
             }
         case KeyEvent.KEYCODE_DPAD_UP:
+            if (!mShowing) {
+                showAdvancedOptions();
+                return true;
+            }
         case KeyEvent.KEYCODE_DPAD_DOWN:
         case KeyEvent.KEYCODE_DPAD_CENTER:
         case KeyEvent.KEYCODE_ENTER:



More information about the Android mailing list