[Android] [PATCH 2/2] Display seek buttons by default

Geoffrey Métais geoffrey.metais at gmail.com
Tue Oct 21 18:08:15 CEST 2014


---
 vlc-android/res/xml/preferences.xml                                 | 2 +-
 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/vlc-android/res/xml/preferences.xml b/vlc-android/res/xml/preferences.xml
index 8ec773f..f517cd8 100644
--- a/vlc-android/res/xml/preferences.xml
+++ b/vlc-android/res/xml/preferences.xml
@@ -53,7 +53,7 @@
                     android:summary="@string/enable_brightness_gesture_summary"
                     android:title="@string/enable_brightness_gesture" />
                 <CheckBoxPreference
-                    android:defaultValue="false"
+                    android:defaultValue="true"
                     android:key="enable_jump_buttons"
                     android:summary="@string/enable_jump_buttons_summary"
                     android:title="@string/enable_jump_buttons" />
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 9cacdfb..56bbb92 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -346,7 +346,7 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
         mScreenOrientation = Integer.valueOf(
                 mSettings.getString("screen_orientation_value", "4" /*SCREEN_ORIENTATION_SENSOR*/));
 
-        mEnableJumpButtons = mSettings.getBoolean("enable_jump_buttons", false);
+        mEnableJumpButtons = mSettings.getBoolean("enable_jump_buttons", true);
         mPlayPause = (ImageButton) findViewById(R.id.player_overlay_play);
         mPlayPause.setOnClickListener(mPlayPauseListener);
         mBackward = (ImageButton) findViewById(R.id.player_overlay_backward);
-- 
1.9.1



More information about the Android mailing list