[Android] Do not parse subdirectories of servers
Geoffrey Métais
git at videolan.org
Fri Feb 12 11:54:21 CET 2016
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Feb 12 11:53:27 2016 +0100| [36155f6e5f9a5980589e8dce5e0c2dca12a8bbc7] | committer: Geoffrey Métais
Do not parse subdirectories of servers
> https://code.videolan.org/videolan/vlc-android/commit/36155f6e5f9a5980589e8dce5e0c2dca12a8bbc7
---
vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java | 2 +-
1 file changed, 1 insertion(+), 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 fd4a98d..9b59b6d 100644
--- a/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
@@ -483,7 +483,7 @@ public abstract class BaseBrowserFragment extends MediaBrowserFragment implement
}
protected void parseSubDirectories() {
- if (mCurrentParsedPosition == -1 || mAdapter.isEmpty())
+ if (mRoot || mCurrentParsedPosition == -1 || mAdapter.isEmpty())
return;
mFoldersContentLists.clear();
if (mMediaBrowser == null)
More information about the Android
mailing list