diff --git a/camera/QCamera2/HAL3/QCamera3HWI.cpp b/camera/QCamera2/HAL3/QCamera3HWI.cpp index c5d09fe..6470a0c 100755 --- a/camera/QCamera2/HAL3/QCamera3HWI.cpp +++ b/camera/QCamera2/HAL3/QCamera3HWI.cpp @@ -7501,8 +7501,8 @@ int QCamera3HardwareInterface::initStaticMetadata(uint32_t cameraId) staticInfo.update(ANDROID_SENSOR_INFO_WHITE_LEVEL, &gCamCapability[cameraId]->white_level, 1); - if(facingBack && gCamCapability[cameraId]->black_level_pattern[0] < 32) { - int32_t black_level_pattern_custom[BLACK_LEVEL_PATTERN_CNT] = {64,64,64,64}; + if(facingBack && gCamCapability[cameraId]->black_level_pattern[0] < 16) { + int32_t black_level_pattern_custom[BLACK_LEVEL_PATTERN_CNT] = {32,32,32,32}; staticInfo.update(ANDROID_SENSOR_BLACK_LEVEL_PATTERN, black_level_pattern_custom, BLACK_LEVEL_PATTERN_CNT); } else {