diff options
author | Shuzhen Wang <shuzhenw@codeaurora.org> | 2013-04-16 14:38:29 -0700 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2013-04-16 15:19:20 -0700 |
commit | 10711726c8498dc6ebfe7dd6793d0d3a4a1b2546 (patch) | |
tree | a572c8e61912c7ffd4f6683ea3e098ff36bf85ef /camera | |
parent | a2c009e79e2d8e61970dcb765e8aac9b209876a6 (diff) | |
download | mako-10711726c8498dc6ebfe7dd6793d0d3a4a1b2546.tar.gz |
Camera: Invoke led flash in CAF mode
Led flash should be invoked when focus mode is set
to flash. Auto focus may or may not be called by
application.
Bug: 8355191
Change-Id: Id00f8f8d3a75cb3f03ac1f4986583f37b78ccc8b
Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'camera')
-rwxr-xr-x | camera/QCameraHWI.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camera/QCameraHWI.cpp b/camera/QCameraHWI.cpp index 746da68..240f01c 100755 --- a/camera/QCameraHWI.cpp +++ b/camera/QCameraHWI.cpp @@ -1638,7 +1638,7 @@ status_t QCameraHardwareInterface::takePicture() if(QCAMERA_HAL_RECORDING_STARTED != mPreviewState){ isp3a_af_mode_t afMode = getAutoFocusMode(mParameters); - if (afMode != AF_MODE_CAF && !mFlashCond) + if (!mFlashCond) { mFlashCond = getFlashCondition(); } |