[Android] Do not parse subdirectories in FilePicker
Geoffrey Métais
git at videolan.org
Wed Feb 24 19:00:55 CET 2016
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Feb 24 18:47:55 2016 +0100| [c8151ab5a999565513cee8e26812cb46e6817573] | committer: Geoffrey Métais
Do not parse subdirectories in FilePicker
> https://code.videolan.org/videolan/vlc-android/commit/c8151ab5a999565513cee8e26812cb46e6817573
---
vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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 3105880..b2799dd 100644
--- a/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
@@ -500,7 +500,8 @@ public abstract class BaseBrowserFragment extends MediaBrowserFragment implement
}
protected void parseSubDirectories() {
- if ((mRoot && this instanceof NetworkBrowserFragment) || mCurrentParsedPosition == -1 || mAdapter.isEmpty())
+ if ((mRoot && this instanceof NetworkBrowserFragment) || mCurrentParsedPosition == -1 ||
+ mAdapter.isEmpty() || this instanceof FilePickerFragment)
return;
mFoldersContentLists.clear();
if (mMediaBrowser == null)
More information about the Android
mailing list