[Android] Video view at first start by default

Alexandre Perraud git at videolan.org
Tue Sep 25 16:02:48 CEST 2012


vlc-ports/android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Tue Sep 25 12:15:12 2012 +0200| [f13157a1a77fe088259753f3a9e5820f54c6160a] | committer: Jean-Baptiste Kempf

Video view at first start by default

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 vlc-android/src/org/videolan/vlc/gui/MainActivity.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
index 56249ac..e41b33d 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
@@ -402,7 +402,7 @@ public class MainActivity extends SherlockFragmentActivity {
 
     private void reloadPreferences() {
         SharedPreferences sharedPrefs = getSharedPreferences("MainActivity", MODE_PRIVATE);
-        mCurrentFragment = sharedPrefs.getString("fragment", "audio");
+        mCurrentFragment = sharedPrefs.getString("fragment", "video");
     }
 
     private void showInfoDialog() {



More information about the Android mailing list