From de1c418f7830c7048e94de23657fcb9c49d9e498 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 29 Oct 2017 10:29:57 +0100 Subject: [PATCH] catch exceptions thrown at getting mimetype from uri --- .../com/simplemobiletools/gallery/extensions/context.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/context.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/context.kt index 922ad88ff..9bbbf9acf 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/context.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/context.kt @@ -82,7 +82,10 @@ fun Context.getSortedDirectories(source: ArrayList): ArrayList