[Android] Fix browser not asking credentials

Geoffrey Métais git at videolan.org
Thu Feb 13 11:35:09 CET 2020


vlc-android | branch: 3.2.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Feb 13 11:30:07 2020 +0100| [338485f6ad090c527edaf2cbe7419a1d39833a98] | committer: Geoffrey Métais

Fix browser not asking credentials

> https://code.videolan.org/videolan/vlc-android/commit/338485f6ad090c527edaf2cbe7419a1d39833a98
---

 vlc-android/src/org/videolan/vlc/providers/BrowserProvider.kt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/vlc/providers/BrowserProvider.kt b/vlc-android/src/org/videolan/vlc/providers/BrowserProvider.kt
index 14ab1e3f0..d46573d5b 100644
--- a/vlc-android/src/org/videolan/vlc/providers/BrowserProvider.kt
+++ b/vlc-android/src/org/videolan/vlc/providers/BrowserProvider.kt
@@ -130,7 +130,7 @@ abstract class BrowserProvider(val context: Context, val dataset: LiveDataset<Me
     }
 
     protected open suspend fun refreshImpl() {
-        val files = filesFlow(url, false).mapNotNull { findMedia(it) }.toList()
+        val files = filesFlow(url, true).mapNotNull { findMedia(it) }.toList()
         dataset.value = files as MutableList<MediaLibraryItem>
         computeHeaders(files)
         parseSubDirectories(files)



More information about the Android mailing list