[Android] Enable 'jump to' option on TV

Geoffrey Métais git at videolan.org
Mon Feb 23 18:17:40 CET 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Feb 23 17:16:55 2015 +0100| [1c875ef20bdfb2c34373cb020bfad8dc9fe48b95] | committer: Geoffrey Métais

Enable 'jump to' option on TV

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

 .../src/org/videolan/vlc/gui/video/AdvOptionsDialog.java       |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/AdvOptionsDialog.java b/vlc-android/src/org/videolan/vlc/gui/video/AdvOptionsDialog.java
index 0daa41e..94a6e84 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/AdvOptionsDialog.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/AdvOptionsDialog.java
@@ -36,7 +36,6 @@ import android.view.LayoutInflater;
 import android.view.View;
 import android.view.ViewGroup;
 import android.widget.Button;
-import android.widget.ImageView;
 import android.widget.SeekBar;
 import android.widget.TextView;
 
@@ -54,7 +53,9 @@ import org.videolan.vlc.util.Strings;
 
 import java.util.Calendar;
 
-import static org.videolan.vlc.gui.dialogs.PickTimeFragment.*;
+import static org.videolan.vlc.gui.dialogs.PickTimeFragment.ACTION_AUDIO_DELAY;
+import static org.videolan.vlc.gui.dialogs.PickTimeFragment.ACTION_JUMP_TO_TIME;
+import static org.videolan.vlc.gui.dialogs.PickTimeFragment.ACTION_SPU_DELAY;
 
 public class AdvOptionsDialog extends DialogFragment implements View.OnClickListener {
 
@@ -191,6 +192,9 @@ public class AdvOptionsDialog extends DialogFragment implements View.OnClickList
                 case PickTimeFragment.ACTION_SPU_DELAY:
                     newFragment = new SubsDelayDialog();
                     break;
+                case PickTimeFragment.ACTION_JUMP_TO_TIME:
+                    newFragment = new JumpToTimeDialog();
+                    break;
                 default:
                     return;
             }



More information about the Android mailing list