hide folders that contain .nomedia file themselves

This commit is contained in:
tibbi 2018-04-14 16:19:23 +02:00
parent 26aa79294b
commit e2f149eb3e

View file

@ -187,6 +187,8 @@ class MediaFetcher(val context: Context) {
val file = File(path) val file = File(path)
return if (path.isEmpty()) { return if (path.isEmpty()) {
false false
} else if (file.containsNoMedia()) {
false
} else if (path.isThisOrParentIncluded(includedPaths)) { } else if (path.isThisOrParentIncluded(includedPaths)) {
true true
} else if (path.isThisOrParentExcluded(excludedPaths)) { } else if (path.isThisOrParentExcluded(excludedPaths)) {