summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/WideAnglePanoramaModule.java
diff options
context:
space:
mode:
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