[Android] Key bindings for new player

Geoffrey Métais git at videolan.org
Tue Jan 13 16:18:08 CET 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Jan 13 15:46:01 2015 +0100| [4ae4b3624ec4dede0cc512bea462a9266884277e] | committer: Geoffrey Métais

Key bindings for new player

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

 .../src/org/videolan/vlc/gui/video/VideoPlayerActivity.java    |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

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 4db04e9..a215a70 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -844,21 +844,19 @@ public class VideoPlayerActivity extends ActionBarActivity implements IVideoPlay
                 doPlayPause();
             return true;
         case KeyEvent.KEYCODE_V:
+        case KeyEvent.KEYCODE_O:
         case KeyEvent.KEYCODE_BUTTON_Y:
-            selectSubtitles();
+            showAdvancedOptions(mAdvOptions);
             return true;
         case KeyEvent.KEYCODE_B:
         case KeyEvent.KEYCODE_MEDIA_AUDIO_TRACK:
         case KeyEvent.KEYCODE_BUTTON_B:
-            selectAudioTrack();
+            onAudioSubClick(mTracks);
             return true;
         case KeyEvent.KEYCODE_M:
         case KeyEvent.KEYCODE_MENU:
             showNavMenu();
             return true;
-        case KeyEvent.KEYCODE_O:
-            showAdvancedOptions(null);
-            return true;
         case KeyEvent.KEYCODE_A:
             resizeVideo();
             return true;



More information about the Android mailing list