Commit 32f1e557 authored by Geoffrey Métais's avatar Geoffrey Métais

No need to force a medialibrary reload on startup

parent 5f79e0b6
......@@ -208,12 +208,8 @@ public class MediaParsingService extends Service implements DevicesDiscoveryCb {
for (String storage : AndroidDevices.getMediaDirectories())
mMedialibrary.discover(storage);
LocalBroadcastManager.getInstance(MediaParsingService.this).sendBroadcast(new Intent(VLCApplication.ACTION_MEDIALIBRARY_READY));
if (!shouldInit) {
if (upgrade)
mMedialibrary.forceParserRetry();
else
reload(null);
}
if (!shouldInit && upgrade)
mMedialibrary.forceParserRetry();
}
initOngoing = false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment