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
1 changed files with 1 additions and 1 deletions

View File

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