[Android] Medialibrary: Remove idle check for reload command

Geoffrey Métais git at videolan.org
Tue Apr 2 12:04:03 CEST 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Apr  2 11:39:06 2019 +0200| [ab19887b287e68137f6547437905a1acb37979b2] | committer: Geoffrey Métais

Medialibrary: Remove idle check for reload command

This can prevent Medialibrary reloading on app startup

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

 medialibrary/src/org/videolan/medialibrary/Medialibrary.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/medialibrary/src/org/videolan/medialibrary/Medialibrary.java b/medialibrary/src/org/videolan/medialibrary/Medialibrary.java
index fcd4195a9..f887db8c8 100644
--- a/medialibrary/src/org/videolan/medialibrary/Medialibrary.java
+++ b/medialibrary/src/org/videolan/medialibrary/Medialibrary.java
@@ -385,7 +385,7 @@ public class Medialibrary {
     }
 
     public void reload() {
-        if (mIsInitiated && !isWorking()) nativeReload();
+        if (mIsInitiated) nativeReload();
     }
 
     public void reload(String entryPoint) {



More information about the Android mailing list