[Android] Compute headers when opening network folder

Nicolas Pomepuy git at videolan.org
Fri Aug 23 09:20:09 CEST 2019


vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Fri Aug 23 09:11:14 2019 +0200| [7158c0e6abe6d370528483c80950e3a79672a35b] | committer: Nicolas Pomepuy

Compute headers when opening network folder

> https://code.videolan.org/videolan/vlc-android/commit/7158c0e6abe6d370528483c80950e3a79672a35b
---

 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