[Android] BrowserActivity: don't trigger a media library scan from here

Ludovic Fauvet git at videolan.org
Tue Oct 2 01:38:16 CEST 2012


vlc-ports/android | branch: master | Ludovic Fauvet <etix at videolan.org> | Tue Oct  2 01:33:04 2012 +0200| [f616fa1c11dcc469e125519ec7c4a7c3bd90a7d5] | committer: Ludovic Fauvet

BrowserActivity: don't trigger a media library scan from here

Wait for the preferences to be reviewed and validated by the user.

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

 vlc-android/src/org/videolan/vlc/gui/BrowserActivity.java |    7 -------
 1 file changed, 7 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/BrowserActivity.java b/vlc-android/src/org/videolan/vlc/gui/BrowserActivity.java
index efb7aab..6514c24 100644
--- a/vlc-android/src/org/videolan/vlc/gui/BrowserActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/BrowserActivity.java
@@ -135,13 +135,6 @@ public class BrowserActivity extends ListActivity {
         return super.onKeyDown(keyCode, event);
     }
 
-    @Override
-    protected void onStop() {
-        // Update the MediaList
-        MediaLibrary.getInstance(this).loadMediaItems(this);
-        super.onStop();
-    }
-
     /**
      * Filter: accept only directories
      */



More information about the Android mailing list