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

View File

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