diff options
Diffstat (limited to 'src/com/android/camera/VideoCamera.java')
-rw-r--r-- | src/com/android/camera/VideoCamera.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/camera/VideoCamera.java b/src/com/android/camera/VideoCamera.java index 54871f2..bcbb68b 100644 --- a/src/com/android/camera/VideoCamera.java +++ b/src/com/android/camera/VideoCamera.java @@ -855,7 +855,8 @@ public class VideoCamera extends ActivityBase } setPreviewDisplay(mSurfaceHolder); mDisplayRotation = Util.getDisplayRotation(this); - Util.setCameraDisplayOrientation(mDisplayRotation, mCameraId, mCameraDevice); + int orientation = Util.getDisplayOrientation(mDisplayRotation, mCameraId); + mCameraDevice.setDisplayOrientation(orientation); setCameraParameters(); try { |