[Android] Fix browser flags for slaves

Geoffrey Métais git at videolan.org
Thu Feb 7 17:01:19 CET 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Feb  7 16:10:35 2019 +0100| [0662bbf1b800c91108e43e1f55ca59221e973240] | committer: Geoffrey Métais

Fix browser flags for slaves

> https://code.videolan.org/videolan/vlc-android/commit/0662bbf1b800c91108e43e1f55ca59221e973240
---

 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 e4002ad23..5878d9742 100644
--- a/vlc-android/src/org/videolan/vlc/providers/BrowserProvider.kt
+++ b/vlc-android/src/org/videolan/vlc/providers/BrowserProvider.kt
@@ -223,7 +223,7 @@ abstract class BrowserProvider(val context: Context, val dataset: LiveDataset<Me
     abstract suspend fun browseRoot()
 
     open fun getFlags() : Int {
-        var flags = MediaBrowser.Flag.Interact or MediaBrowser.Flag.NoSlavesAutodetect
+        var flags = MediaBrowser.Flag.Interact
         if (showHiddenFiles) flags = flags or MediaBrowser.Flag.ShowHiddenFiles
         return flags
     }



More information about the Android mailing list