summaryrefslogtreecommitdiffstats
path: root/src/com/android/camera/CaptureUI.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/camera/CaptureUI.java')
-rw-r--r--src/com/android/camera/CaptureUI.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/com/android/camera/CaptureUI.java b/src/com/android/camera/CaptureUI.java
index 93455a6b0..44d06cdbc 100644
--- a/src/com/android/camera/CaptureUI.java
+++ b/src/com/android/camera/CaptureUI.java
@@ -1428,11 +1428,8 @@ public class CaptureUI extends BaseUI implements PreviewGestures.SingleTapListen
}
public void onPreviewFocusChanged(boolean previewFocused) {
- if (previewFocused) {
- showUI();
- } else {
- hideUI(true);
- }
+ super.onPreviewFocusChanged(previewFocused);
+
if (mFaceView != null) {
mFaceView.setBlockDraw(!previewFocused);
}