make the data folder check incase sensitive

This commit is contained in:
tibbi 2018-12-04 10:20:35 +01:00
parent 0fe7a49e4b
commit 394d7ccbbc

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 && currentString.startsWith("/Android/data")) { if (cnt > 50 && currentString.startsWith("/Android/data", true)) {
oftenRepeatedPaths.add(currentString) oftenRepeatedPaths.add(currentString)
} }
} }