summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2009-12-09 16:14:37 +0800
committerWu-cheng Li <wuchengli@google.com>2009-12-09 16:14:37 +0800
commitf4823480fdda6e6a4ec7deb28199a7c9631016e5 (patch)
tree9d6cd4aa7b1c32c0ce0e1b14514630fd5283df3c /src
parent69d05c5c970a83ef5f429130ad378dd00f72c30c (diff)
downloadLegacyCamera-f4823480fdda6e6a4ec7deb28199a7c9631016e5.zip
LegacyCamera-f4823480fdda6e6a4ec7deb28199a7c9631016e5.tar.gz
LegacyCamera-f4823480fdda6e6a4ec7deb28199a7c9631016e5.tar.bz2
Do not set orientation indicator while handling image capture intent.
Diffstat (limited to 'src')
-rw-r--r--src/com/android/camera/Camera.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/android/camera/Camera.java b/src/com/android/camera/Camera.java
index 0367264..bb4fb99 100644
--- a/src/com/android/camera/Camera.java
+++ b/src/com/android/camera/Camera.java
@@ -273,7 +273,9 @@ public class Camera extends NoSearchActivity implements View.OnClickListener,
orientation = ImageManager.roundOrientation(orientation);
if (orientation != mLastOrientation) {
mLastOrientation = orientation;
- setOrientationIndicator(mLastOrientation);
+ if (!mIsImageCaptureIntent) {
+ setOrientationIndicator(mLastOrientation);
+ }
}
}
};