We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b0939f commit 59fa340Copy full SHA for 59fa340
app/src/main/java/com/simplemobiletools/filemanager/Utils.kt
@@ -35,7 +35,7 @@ class Utils {
35
return matcher.matches()
36
}
37
38
- fun needsStupidWritePermissions(context: Context, path: String) = isPathOnSD(context, path) && isKitkat()
+ fun needsStupidWritePermissions(context: Context, path: String) = isPathOnSD(context, path) && isKitkat() && !context.getSDCardPath().isEmpty()
39
40
fun isPathOnSD(context: Context, path: String): Boolean {
41
return path.startsWith(context.getSDCardPath())
0 commit comments