fix(camera): Reset exif orientation if corrected #510
This fix will fail on some Xiaomis devices (maybe others). String imageUri.getPath() can't be opened by ExifInterface
You could try to use and inputStream (like on method getOrientation()) but then you can't save the file
I am getting the same error on my Pixel 3a when selecting a portrait image from the gallery.
(btw it would probably the best if
It happens because imageUri contains a content provider URI and not a regular file uri. Also, even if it would work, rewriting the exif data on the picture from the gallery is probably not a good idea because then the image in the gallery would contain the wrong exif data.