[Android] Systematic rescan

Geoffrey Métais git at videolan.org
Tue May 12 16:39:18 CEST 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue May 12 16:25:14 2015 +0200| [e651a06bea9897b11e197101d9ab170417a9a419] | committer: Geoffrey Métais

Systematic rescan

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

 vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java        |    2 +-
 .../src/org/videolan/vlc/gui/browser/StorageBrowserAdapter.java      |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java b/vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java
index 2d467bd..b767ddc 100644
--- a/vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/PreferencesActivity.java
@@ -101,7 +101,7 @@ public class PreferencesActivity extends PreferenceActivity implements OnSharedP
                         Intent intent = new Intent(getApplicationContext(), SecondaryActivity.class);
                         intent.putExtra("fragment", SecondaryActivity.STORAGE_BROWSER);
                         startActivity(intent);
-//                        setResult(RESULT_RESCAN);
+                        setResult(RESULT_RESCAN);
                         return true;
                     }
                 });
diff --git a/vlc-android/src/org/videolan/vlc/gui/browser/StorageBrowserAdapter.java b/vlc-android/src/org/videolan/vlc/gui/browser/StorageBrowserAdapter.java
index 9555b3f..f320dc5 100644
--- a/vlc-android/src/org/videolan/vlc/gui/browser/StorageBrowserAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/browser/StorageBrowserAdapter.java
@@ -155,7 +155,6 @@ public class StorageBrowserAdapter extends BaseBrowserAdapter {
             public void run() {
                 if (mMediaDirsLocation == null || mMediaDirsLocation.isEmpty())
                     fragment.refresh();
-                fragment.updateLib();
             }
         });
     }



More information about the Android mailing list