OSDN Git Service
(root)
/
android-x86
/
packages-apps-Camera.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69d05c5
)
Do not set orientation indicator while handling image capture intent.
author
Wu-cheng Li
<wuchengli@google.com>
Wed, 9 Dec 2009 08:14:37 +0000
(16:14 +0800)
committer
Wu-cheng Li
<wuchengli@google.com>
Wed, 9 Dec 2009 08:14:37 +0000
(16:14 +0800)
src/com/android/camera/Camera.java
patch
|
blob
|
history
diff --git
a/src/com/android/camera/Camera.java
b/src/com/android/camera/Camera.java
index
0367264
..
bb4fb99
100644
(file)
--- 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);
+ }
}
}
};