diff --git a/camerakit/src/main/api16/com/flurgle/camerakit/Camera1.java b/camerakit/src/main/api16/com/flurgle/camerakit/Camera1.java index 0c137ef3..124dae08 100644 --- a/camerakit/src/main/api16/com/flurgle/camerakit/Camera1.java +++ b/camerakit/src/main/api16/com/flurgle/camerakit/Camera1.java @@ -343,11 +343,9 @@ public class Camera1 extends CameraImpl { getCaptureResolution().getWidth(), getCaptureResolution().getHeight() ); - - mCameraParameters.setRotation( - calculateCameraRotation(mDisplayOrientation) - + (mFacing == CameraKit.Constants.FACING_FRONT ? 180 : 0) - ); + int rotation = (calculateCameraRotation(mDisplayOrientation) + + (mFacing == CameraKit.Constants.FACING_FRONT ? 180 : 0) ) % 360; + mCameraParameters.setRotation(rotation); setFocus(mFocus); setFlash(mFlash);