[Android] Playbackservice: activate external devices

Geoffrey Métais git at videolan.org
Wed Dec 18 14:43:52 CET 2019


vlc-android | branch: 3.2.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Dec 18 14:43:09 2019 +0100| [9f01f3b5ae6b2a115554221957bd69185408d435] | committer: Geoffrey Métais

Playbackservice: activate external devices

Fix #1129

> https://code.videolan.org/videolan/vlc-android/commit/9f01f3b5ae6b2a115554221957bd69185408d435
---

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

diff --git a/vlc-android/src/org/videolan/vlc/util/PBSMedialibraryReceiver.kt b/vlc-android/src/org/videolan/vlc/util/PBSMedialibraryReceiver.kt
index defc8c40d..d355dee76 100644
--- a/vlc-android/src/org/videolan/vlc/util/PBSMedialibraryReceiver.kt
+++ b/vlc-android/src/org/videolan/vlc/util/PBSMedialibraryReceiver.kt
@@ -50,7 +50,7 @@ internal fun PlaybackService.registerMedialibrary(action: Runnable?) {
     if (!Permissions.canReadStorage(this)) return
     if (libraryReceiver == null) {
         libraryReceiver = PBSMedialibraryReceiver(this)
-        startMedialibrary(parse = false)
+        startMedialibrary()
     }
     if (action != null) libraryReceiver?.addAction(action)
 }



More information about the Android mailing list