also check file existence at Included folders, if size returns 0

This commit is contained in:
tibbi 2017-12-17 13:03:32 +01:00
parent 47046d3d11
commit 0ae0d8df12

View file

@ -271,7 +271,7 @@ class MediaFetcher(val context: Context) {
continue
val size = file.length()
if (size <= 0L)
if (size <= 0L && !file.exists())
continue
val dateTaken = file.lastModified()