summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/WideAnglePanoramaModule.java
diff options
context:
space:
mode:
authorDoris Liu <tianliu@google.com>2013-10-18 17:15:30 -0700
committerDoris Liu <tianliu@google.com>2013-10-18 17:15:30 -0700
commit209a165bd776c938cad388fcf0b1ed27eef4ed83 (patch)
tree4c7465d2a317abd2fca4bd322bda8dd7f7d19105 /src/com/android/camera/WideAnglePanoramaModule.java
parent8470cae9049959ee6bb28cde1c53185f2ffd10a1 (diff)
downloadandroid_packages_apps_Snap-209a165bd776c938cad388fcf0b1ed27eef4ed83.tar.gz
android_packages_apps_Snap-209a165bd776c938cad388fcf0b1ed27eef4ed83.tar.bz2
android_packages_apps_Snap-209a165bd776c938cad388fcf0b1ed27eef4ed83.zip
Fix SRI orientation on manta
Bug: 11292213 Change-Id: I7977de4c5bb906eec5431e706e28118837a682e7
Diffstat (limited to 'src/com/android/camera/WideAnglePanoramaModule.java')
-rw-r--r--src/com/android/camera/WideAnglePanoramaModule.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/com/android/camera/WideAnglePanoramaModule.java b/src/com/android/camera/WideAnglePanoramaModule.java
index db4e59d2e..320b96086 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