From aa67d847edf7de3741bac6fb40cd94b8c838d0ae Mon Sep 17 00:00:00 2001 From: Doris Liu Date: Fri, 18 Oct 2013 17:15:30 -0700 Subject: Fix SRI orientation on manta Bug: 11292213 Change-Id: I7977de4c5bb906eec5431e706e28118837a682e7 --- src/com/android/camera/WideAnglePanoramaModule.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/com/android/camera/WideAnglePanoramaModule.java') diff --git a/src/com/android/camera/WideAnglePanoramaModule.java b/src/com/android/camera/WideAnglePanoramaModule.java index aa66bdcd3..a08aa66ec 100644 --- a/src/com/android/camera/WideAnglePanoramaModule.java +++ b/src/com/android/camera/WideAnglePanoramaModule.java @@ -647,6 +647,13 @@ public class WideAnglePanoramaModule return orientation; } + /** The orientation of the camera image. The value is the angle that the camera + * image needs to be rotated clockwise so it shows correctly on the display + * in its natural orientation. It should be 0, 90, 180, or 270.*/ + public int getCameraOrientation() { + return mCameraOrientation; + } + public void saveHighResMosaic() { runBackgroundThread(new Thread() { @Override -- cgit v1.2.3