exclude spam folders automatically only from the data folder

This commit is contained in:
tibbi 2018-12-04 10:18:01 +01:00
parent 1bc1b40077
commit 0fe7a49e4b

View file

@ -1126,7 +1126,7 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener {
if (!checkedPaths.contains(currentString)) { if (!checkedPaths.contains(currentString)) {
val cnt = paths.count { it.startsWith(currentString) } val cnt = paths.count { it.startsWith(currentString) }
if (cnt > 50) { if (cnt > 50 && currentString.startsWith("/Android/data")) {
oftenRepeatedPaths.add(currentString) oftenRepeatedPaths.add(currentString)
} }
} }