summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2011-10-28 19:21:05 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2011-10-28 19:21:05 +0000
commita83a9a6b43682406f2332e6329ad0d90d175e7af (patch)
tree22f01baf6711f784445eb80c2a0ad6912700be6d
parentd6e5029b2df45210834334f7c2e99dfc85e962f0 (diff)
parentc3a0c2d4b7c1ec7bd8dc6190a0a68a6ff90cb629 (diff)
downloadLegacyCamera-a83a9a6b43682406f2332e6329ad0d90d175e7af.zip
LegacyCamera-a83a9a6b43682406f2332e6329ad0d90d175e7af.tar.gz
LegacyCamera-a83a9a6b43682406f2332e6329ad0d90d175e7af.tar.bz2
am c3a0c2d4: Update recording orientation in more states.
* commit 'c3a0c2d4b7c1ec7bd8dc6190a0a68a6ff90cb629': Update recording orientation in more states.
-rw-r--r--src/com/android/camera/EffectsRecorder.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/camera/EffectsRecorder.java b/src/com/android/camera/EffectsRecorder.java
index 73c5a92..bb7c813 100644
--- a/src/com/android/camera/EffectsRecorder.java
+++ b/src/com/android/camera/EffectsRecorder.java
@@ -338,8 +338,7 @@ public class EffectsRecorder {
}
private void setRecordingOrientation() {
- if ( (mState == STATE_CONFIGURE || mState == STATE_WAITING_FOR_SURFACE)
- && mRunner != null ) {
+ if ( mState != STATE_RECORD && mRunner != null) {
Point bl = new Point(0, 0);
Point br = new Point(1, 0);
Point tl = new Point(0, 1);