QCamera2:HAL: Fix for Sensor HDR.

Incase when sensor-hdr is enabled, need to disable the normal
HDR enabled flag.

Change-Id: Ibd7418d8abaabc03625a65fc228d0bac5528fd5e
This commit is contained in:
Mridul Singh 2016-07-12 16:56:24 -07:00 committed by Prateek Chaubey
parent a93a2741fc
commit 12cbba2ee3

View file

@ -3504,6 +3504,7 @@ int32_t QCameraParameters::setSceneMode(const QCameraParameters& params)
// If HDR is set from client and the feature is not enabled in the backend, ignore it.
if (m_bHDRModeSensor && isSupportedSensorHdrSize(params)) {
m_bSensorHDREnabled = true;
m_bHDREnabled = false;
LOGH("Sensor HDR mode Enabled");
} else {
m_bHDREnabled = true;