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) }