exclude spam folders automatically only from the data folder
This commit is contained in:
parent
1bc1b40077
commit
0fe7a49e4b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue