I am using the android CWAC lib as part of the camera implementation within my app. It is working really well, however I discovered an issue with the image preview.
Whenever I capture an image, I display it full screen within the same fragment, it works correctly. However if I pause the app by pressing the home button or visiting another section of the app and coming back to my camera screen, the image captured by the camera is incorrectly rotated.
The camera works really well for me in most cases and the image quality too is really good. However I cannot seem to figure out why simply pausing and resuming the app(my implementation of the CameraFragment) is causing the image captured and displayed to be incorrectly rotated.
P.S - My activity is set to work in portrait only. This does not happen with the demo app, however in the demo app the image captured is shown in a separate activity.