mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 22:47:59 +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) {
|
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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue