From f4823480fdda6e6a4ec7deb28199a7c9631016e5 Mon Sep 17 00:00:00 2001 From: Wu-cheng Li Date: Wed, 9 Dec 2009 16:14:37 +0800 Subject: Do not set orientation indicator while handling image capture intent. --- src/com/android/camera/Camera.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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); + } } } }; -- cgit v1.1