由拍照切换至录像时,冻屏方向在此处修改
src/com/android/camera/CameraActivity.java
diff --git a/src/com/android/camera/CameraActivity.java b/src/com/android/camera/CameraActivity.java
index 53dc58a..c1379e7 100644
--- a/src/com/android/camera/CameraActivity.java
+++ b/src/com/android/camera/CameraActivity.java
@@ -3306,7 +3306,7 @@ public class CameraActivity extends QuickActivity implements AppController,
long startTime = System.currentTimeMillis();
if (mCurrentModule.isUseSurfaceView()) {
Size displayRealSize = CameraUtil.getDefaultDisplayRealSize();
- Bitmap screenShot = SurfaceControl.screenshot(new Rect(), displayRealSize.getWidth(), displayRealSize.getHeight(),Surface.ROTATION_0);
+ Bitmap screenShot = SurfaceControl.screenshot(new Rect(), displayRealSize.getWidth(), displayRealSize.getHeight(),Surface.ROTATION_90);
if (screenShot == null) {
freezeScreenUntilPreviewReady();//SPRD:fix bug1116034
} else {