EasyCam
EasyCam copied to clipboard
Photo inverted vertically when use front camera
The problem When I'm take a photo using front camera, the resulting image is flipped vertically.
How to reproduce the problem Steps to reproduce the behavior:
- Using the version
easycam:0.0.3-rc5
- Setup new intent with this setup
CameraBundleBuilder()
.setClearBucket(true)
.setDoneButtonDrawable(R.drawable.ic_material_check)
.setDoneButtonString("")
.setManualFocus(false)
.createCameraBundle())
- Start CameraControllerActivity
- Take some pictures using front camera
- Images taked with front camera are inverted vertically
Expected behavior Images in the correct orientation
Additional
I'm thinking that the possible solution would be in the private method setupOrientationListener
at CameraControllerActivity
, considerate change the orientation value depending of selected camera.