try not scanning files from explicitly included folders

This commit is contained in:
tibbi 2018-03-17 18:19:33 +01:00
parent aea0329867
commit ca97779f5d

View file

@ -303,7 +303,7 @@ class MediaFetcher(val context: Context) {
val isAlreadyAdded = curMedia.any { it.path == file.absolutePath } val isAlreadyAdded = curMedia.any { it.path == file.absolutePath }
if (!isAlreadyAdded) { if (!isAlreadyAdded) {
curMedia.add(medium) curMedia.add(medium)
context.scanPath(file.absolutePath) //context.scanPath(file.absolutePath)
} }
} }
} }