From 285a5be7ce327eb4c169e60ecc4a9cd8d583e65d Mon Sep 17 00:00:00 2001 From: ztenghui Date: Wed, 9 Oct 2013 15:59:47 -0700 Subject: Fix flash issue The flash light should show up at the same time as the control show up. Also, when we change the flash mode, we should update the flash on screen indicator. bug:11064667 Change-Id: I888d3ce76ac618a4c7b40a288ecce13555c89ab0 --- src/com/android/camera/VideoUI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/com/android/camera/VideoUI.java') diff --git a/src/com/android/camera/VideoUI.java b/src/com/android/camera/VideoUI.java index d255ed7ee..7080032f4 100644 --- a/src/com/android/camera/VideoUI.java +++ b/src/com/android/camera/VideoUI.java @@ -662,7 +662,7 @@ public class VideoUI implements PieRenderer.PieListener, } public boolean isVisible() { - return mTextureView.getVisibility() == View.VISIBLE; + return mCameraControls.getVisibility() == View.VISIBLE; } @Override -- cgit v1.2.3