adding some more exclamation marks

This commit is contained in:
tibbi 2019-11-28 21:51:32 +01:00
parent a1b390190e
commit d06a01ea32

View file

@ -612,7 +612,7 @@ fun Activity.getShortcutImage(tmb: String, drawable: Drawable, callback: () -> U
fun Activity.showFileOnMap(path: String) { fun Activity.showFileOnMap(path: String) {
val exif = try { val exif = try {
if (path.startsWith("content://") && isNougatPlus()) { if (path.startsWith("content://") && isNougatPlus()) {
ExifInterface(contentResolver.openInputStream(Uri.parse(path))) ExifInterface(contentResolver.openInputStream(Uri.parse(path))!!)
} else { } else {
ExifInterface(path) ExifInterface(path)
} }