[Android] MainActivity: fix crash

Edward Wang git at videolan.org
Thu Jun 28 20:50:21 CEST 2012


android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Thu Jun 28 14:50:13 2012 -0400| [6bbb392764ae742d354c1b2391519b080592d711] | committer: Edward Wang

MainActivity: fix crash

> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=6bbb392764ae742d354c1b2391519b080592d711
---

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

diff --git a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
index 91d45a9..f03fd3f 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
@@ -216,6 +216,7 @@ public class MainActivity extends SherlockFragmentActivity {
 
     @Override
     protected void onRestart() {
+        super.onRestart();
         /* Reload the latest preferences */
         reloadPreferences();
     }



More information about the Android mailing list