mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-23 13:08:00 +01:00
adding some more exclamation marks
This commit is contained in:
parent
a1b390190e
commit
d06a01ea32
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue