summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/com/android/camera/CaptureUI.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/com/android/camera/CaptureUI.java b/src/com/android/camera/CaptureUI.java
index ccb45e12d..1e624e1ce 100755
--- a/src/com/android/camera/CaptureUI.java
+++ b/src/com/android/camera/CaptureUI.java
@@ -697,10 +697,13 @@ public class CaptureUI implements FocusOverlayManager.FocusUI,
public void initializeProMode(boolean promode) {
mCameraControls.setProMode(promode);
- if (promode)
+ if (promode) {
mVideoButton.setVisibility(View.INVISIBLE);
- else if (mModule.getCurrentIntentMode() == CaptureModule.INTENT_MODE_NORMAL)
+ mFlashButton.setVisibility(View.INVISIBLE);
+ }
+ else if (mModule.getCurrentIntentMode() == CaptureModule.INTENT_MODE_NORMAL) {
mVideoButton.setVisibility(View.VISIBLE);
+ }
}
// called from onResume but only the first time