[Android] Added exception for FilePickerFragment
David Papazian
git at videolan.org
Tue Jul 11 17:55:36 CEST 2017
vlc-android | branch: master | David Papazian <david.papazian at metz.supelec.fr> | Tue Jul 11 17:50:23 2017 +0200| [6dd396fcf05a1b634ddf9868177a4a1c2b608176] | committer: Geoffrey Métais
Added exception for FilePickerFragment
Signed-off-by: Geoffrey Métais <geoffrey.metais at gmail.com>
> https://code.videolan.org/videolan/vlc-android/commit/6dd396fcf05a1b634ddf9868177a4a1c2b608176
---
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 a33577a01..00f51c019 100644
--- a/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/browser/BaseBrowserFragment.java
@@ -390,7 +390,7 @@ public abstract class BaseBrowserFragment extends MediaBrowserFragment implement
@Override
public void refresh() {
- if (this instanceof NetworkBrowserFragment && mRoot)
+ if ((this instanceof NetworkBrowserFragment && mRoot) || this instanceof FilePickerFragment)
mAdapter.clear();
else {
refreshList = new ArrayList<>();
More information about the Android
mailing list