From d06a01ea32ce3ee2f2e2eb025cdbe6909b7ceb37 Mon Sep 17 00:00:00 2001 From: tibbi Date: Thu, 28 Nov 2019 21:51:32 +0100 Subject: [PATCH] adding some more exclamation marks --- .../com/simplemobiletools/gallery/pro/extensions/Activity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/extensions/Activity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/extensions/Activity.kt index f4254781a..8d9885c7a 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/extensions/Activity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/extensions/Activity.kt @@ -612,7 +612,7 @@ fun Activity.getShortcutImage(tmb: String, drawable: Drawable, callback: () -> U fun Activity.showFileOnMap(path: String) { val exif = try { if (path.startsWith("content://") && isNougatPlus()) { - ExifInterface(contentResolver.openInputStream(Uri.parse(path))) + ExifInterface(contentResolver.openInputStream(Uri.parse(path))!!) } else { ExifInterface(path) }