Makes AE state to be passed to camera service properly
so that service can decide capture method between ZSL and normal.
Bug:
7257412
Change-Id: I58e8b69a9e444cdc6a69de73075fe67e85ddaa08
Signed-off-by: Sungjoong Kang <sj3.kang@samsung.com>
}
}
// At flash off mode, capture can be done as zsl capture
- if (m_ctlInfo.flash.i_flashMode == AA_AEMODE_ON)
+ if (m_ctlInfo.flash.i_flashMode == AA_AEMODE_ON && shot_ext->shot.ctl.aa.sceneMode != AA_SCENE_MODE_NIGHT)
shot_ext->shot.dm.aa.aeState = AE_STATE_CONVERGED;
// At scene mode face priority
&metadata->ctl.scaler.cropRegion, 3))
return NO_MEMORY;
+ byteData = metadata->dm.aa.aeState - 1;
if (0 != add_camera_metadata_entry(dst, ANDROID_CONTROL_AE_STATE,
- &(metadata->dm.aa.aeState), 1))
+ &byteData, 1))
return NO_MEMORY;
if (0 != add_camera_metadata_entry(dst, ANDROID_CONTROL_AWB_STATE,