Commit e661f165 authored by Geoffrey Métais's avatar Geoffrey Métais

Do not restart media scan if running

parent 6170c96f
......@@ -165,7 +165,7 @@ public class MainActivity extends AudioPlayerContainerActivity implements Filter
Permissions.checkReadStoragePermission(this, false);
mMediaLibrary = MediaLibrary.getInstance();
if (mMediaLibrary.getMediaItems().isEmpty()) {
if (!mMediaLibrary.isWorking() && mMediaLibrary.getMediaItems().isEmpty()) {
if (mSettings.getBoolean(PreferencesActivity.AUTO_RESCAN, true))
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