mirror of
https://github.com/openharmony/multimedia_camera_standard.git
synced 2026-07-01 20:44:17 -04:00
!347 fix:delete the tag related to the autofocus trigger
Merge pull request !347 from Zhangzi/master
This commit is contained in:
@@ -570,13 +570,6 @@ void CameraInput::SetFocusMode(camera_focus_mode_enum_t focusMode)
|
||||
|
||||
MEDIA_DEBUG_LOG("CameraInput::SetFocusMode Focus mode: %{public}d", focusMode);
|
||||
|
||||
#ifdef PRODUCT_M40
|
||||
ret = StartFocus(focusMode);
|
||||
if (ret != CAM_META_SUCCESS) {
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
ret = Camera::FindCameraMetadataItem(changedMetadata_->get(), OHOS_CONTROL_FOCUS_MODE, &item);
|
||||
if (ret == CAM_META_ITEM_NOT_FOUND) {
|
||||
status = changedMetadata_->addEntry(OHOS_CONTROL_FOCUS_MODE, &focus, count);
|
||||
|
||||
Reference in New Issue
Block a user