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

View File

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