[Android] Compute headers when opening network folder
Nicolas Pomepuy
git at videolan.org
Tue Aug 27 13:01:50 CEST 2019
vlc-android | branch: 3.2.x | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Fri Aug 23 09:11:14 2019 +0200| [1c5441a16914a5fa22597396a147a9775a8f74d1] | committer: Nicolas Pomepuy
Compute headers when opening network folder
(cherry picked from commit 7158c0e6abe6d370528483c80950e3a79672a35b)
> https://code.videolan.org/videolan/vlc-android/commit/1c5441a16914a5fa22597396a147a9775a8f74d1
---
vlc-android/src/org/videolan/vlc/providers/NetworkProvider.kt | 1 +
1 file changed, 1 insertion(+)
diff --git a/vlc-android/src/org/videolan/vlc/providers/NetworkProvider.kt b/vlc-android/src/org/videolan/vlc/providers/NetworkProvider.kt
index d42f3f774..4b5cbebf1 100644
--- a/vlc-android/src/org/videolan/vlc/providers/NetworkProvider.kt
+++ b/vlc-android/src/org/videolan/vlc/providers/NetworkProvider.kt
@@ -77,6 +77,7 @@ class NetworkProvider(context: Context, dataset: LiveDataset<MediaLibraryItem>,
dataset.value = list as MutableList<MediaLibraryItem>
removeList(url)
parseSubDirectories()
+ computeHeaders(list as MutableList<MediaLibraryItem>)
}
else -> super.refresh()
}
More information about the Android
mailing list