How can we get the image in correct orientation? ExifInterface always returns 0. I tried using EasyImage (https://github.com/jkwiecien/EasyImage), however it produces the same results.
I tried every single suggestion from this thread without any luck: Why does an image captured using camera intent gets rotated on some devices on Android?
In Android 7 emulator I observe the following behaviour: once you take the image, it rotates 90 degrees while you are still in the camera - even before you accept the image.
What am I missing?
Here is what happens in the emulator and on Note 4:
1) White taking the picture:
2) Right after taking the picture, before even accepting it and before the application is even aware of any images and their orientation - you see it rotated: