From 394d7ccbbc02fd0ba2889d96e135a2d00c758741 Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 4 Dec 2018 10:20:35 +0100 Subject: [PATCH] make the data folder check incase sensitive --- .../simplemobiletools/gallery/pro/activities/MainActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt index 0506277fa..9fd6eb352 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt @@ -1126,7 +1126,7 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener { if (!checkedPaths.contains(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) } }