diff options
Diffstat (limited to 'camera/QCamera2/HAL/QCamera2HWI.cpp')
-rw-r--r-- | camera/QCamera2/HAL/QCamera2HWI.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/camera/QCamera2/HAL/QCamera2HWI.cpp b/camera/QCamera2/HAL/QCamera2HWI.cpp index e1e1611..1e6f310 100644 --- a/camera/QCamera2/HAL/QCamera2HWI.cpp +++ b/camera/QCamera2/HAL/QCamera2HWI.cpp @@ -6538,6 +6538,8 @@ int32_t QCamera2HardwareInterface::processPrepSnapshotDoneEvent( int32_t QCamera2HardwareInterface::processASDUpdate( __unused cam_asd_decision_t asd_decision) { + +#ifndef VANILLA_HAL if ( msgTypeEnabled(CAMERA_MSG_META_DATA) ) { size_t data_len = sizeof(cam_auto_scene_t); size_t buffer_len = 1 *sizeof(int) //meta type @@ -6556,7 +6558,6 @@ int32_t QCamera2HardwareInterface::processASDUpdate( return UNKNOWN_ERROR; } -#ifndef VANILLA_HAL pASDData[0] = CAMERA_META_DATA_ASD; pASDData[1] = (int)data_len; pASDData[2] = asd_decision.detected_scene; @@ -6574,8 +6575,8 @@ int32_t QCamera2HardwareInterface::processASDUpdate( LOGE("fail sending notification"); asdBuffer->release(asdBuffer); } -#endif } +#endif return NO_ERROR; } |