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 e1f6dea3f..3a4d24c8e 100644
--- a/src/com/android/camera/CaptureUI.java
+++ b/src/com/android/camera/CaptureUI.java
@@ -1424,11 +1424,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);
}