OSDN Git Service

Do not set orientation indicator while handling image capture intent.
authorWu-cheng Li <wuchengli@google.com>
Wed, 9 Dec 2009 08:14:37 +0000 (16:14 +0800)
committerWu-cheng Li <wuchengli@google.com>
Wed, 9 Dec 2009 08:14:37 +0000 (16:14 +0800)
src/com/android/camera/Camera.java

index 0367264..bb4fb99 100644 (file)
@@ -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);
+                    }
                 }
             }
         };