camera-preview
camera-preview copied to clipboard
Don't have auto rotation
Describe the bug If you lock a device rotation and capture one image in different rotation, the image won't rotate. This is shown with wrong orientation.
To Reproduce Steps to reproduce the behavior:
- Lock rotation android.
- Open the camera
- Capture image
- Move the device with another position o rotation
- See the image with wrong orientation.
Screenshots
Image with 90 degrees of rotation in device
Expected image

Smartphone (please complete the following information):
- Device: Android +5
got the same issue.
if you go to Preview.java
and comment setCameraDisplayOrientation(); it fix the issue on my side