[Android] Fix preparse after refresh

Geoffrey Métais git at videolan.org
Mon Apr 27 11:18:28 CEST 2015


vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Apr 27 11:17:41 2015 +0200| [ffccfccd4409dc3cfd729499ad37d0e3887d4ae3] | committer: Geoffrey Métais

Fix preparse after refresh

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

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

diff --git a/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java b/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
index bfe6e1b..6646f09 100644
--- a/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
@@ -285,6 +285,7 @@ public abstract class BaseBrowserFragment extends MediaBrowserFragment implement
     public void refresh() {
         mAdapter.clear();
         mMediaBrowser.changeEventListener(this);
+        mCurrentParsedPosition = 0;
         if (mRoot)
             browseRoot();
         else



More information about the Android mailing list