mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-01-31 11:44:49 +01:00
adding some more exclamation marks
This commit is contained in:
parent
a1b390190e
commit
d06a01ea32
@ -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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user