[Android] Synchronize text and option

Edward Wang git at videolan.org
Tue Apr 29 00:16:38 CEST 2014


vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Mon Apr 28 18:09:31 2014 -0400| [ee377758de298d0325b33e353aa574bd2616581d] | committer: Edward Wang

Synchronize text and option

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

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

diff --git a/vlc-android/res/values/strings.xml b/vlc-android/res/values/strings.xml
index 3b0192d..e060ae8 100644
--- a/vlc-android/res/values/strings.xml
+++ b/vlc-android/res/values/strings.xml
@@ -256,7 +256,7 @@
     <string name="dump_logcat_success">Logcat successfully dumped to %1$s!</string>
     <string name="dump_logcat_failure">Failed to dump logcat.</string>
     <string name="enable_dual_display">Dual display mode</string>
-    <string name="enable_dual_display_summary">Disable remote mode when a secondary display via HDMI/Chromecast is connected</string>
+    <string name="enable_dual_display_summary">Display video on secondary displays connected via HDMI/Chromecast</string>
     
     <string-array name="hardware_acceleration_list">
         <item>@string/automatic</item>
diff --git a/vlc-android/res/xml/preferences.xml b/vlc-android/res/xml/preferences.xml
index 1904b77..1c14a8e 100644
--- a/vlc-android/res/xml/preferences.xml
+++ b/vlc-android/res/xml/preferences.xml
@@ -39,7 +39,7 @@
         <PreferenceScreen android:title="@string/interface_prefs_category" >
             <PreferenceCategory android:title="@string/interface_prefs_category" >
                 <CheckBoxPreference
-                    android:defaultValue="false"
+                    android:defaultValue="true"
                     android:key="enable_dual_display"
                     android:summary="@string/enable_dual_display_summary"
                     android:title="@string/enable_dual_display" />
@@ -152,4 +152,4 @@
         </PreferenceScreen>
     </PreferenceCategory>
 
-</PreferenceScreen>
\ No newline at end of file
+</PreferenceScreen>
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 7d36193..47c8aff 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -1987,7 +1987,7 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
 
     @TargetApi(Build.VERSION_CODES.JELLY_BEAN_MR1)
     private void createPresentation() {
-        if (mMediaRouter == null || mEnableDualDisplay)
+        if (mMediaRouter == null || !mEnableDualDisplay)
             return;
 
         // Get the current route and its presentation display.



More information about the Android mailing list