Skip to content

Commit

Permalink
Merge "Hide switcher earlier in HDR mode" into gb-ub-photos-arches
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Kolb authored and Android (Google) Code Review committed Oct 29, 2012
2 parents 6dde685 + 398aea1 commit 9198b90
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/com/android/camera/PhotoModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -1279,7 +1279,6 @@ public boolean capture() {

if (animateBefore) {
animateFlash();
mActivity.hideSwitcher();
}

// Set rotation and gps data.
Expand Down Expand Up @@ -1593,6 +1592,9 @@ public void onShutterButtonFocus(boolean pressed) {
if (pressed && !canTakePicture()) return;

if (pressed) {
if (mSceneMode == Util.SCENE_MODE_HDR) {
mActivity.hideSwitcher();
}
mFocusManager.onShutterDown();
} else {
mFocusManager.onShutterUp();
Expand Down

0 comments on commit 9198b90

Please sign in to comment.