mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-23 13:08:00 +01:00
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)) {
|
||||
val cnt = paths.count { it.startsWith(currentString) }
|
||||
if (cnt > 50) {
|
||||
if (cnt > 50 && currentString.startsWith("/Android/data")) {
|
||||
oftenRepeatedPaths.add(currentString)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue