diff --git a/runtime/main/extend/systemplugin/napi/ohos_multimedia_camera.js b/runtime/main/extend/systemplugin/napi/ohos_multimedia_camera.js index 4810c689..1c906517 100644 --- a/runtime/main/extend/systemplugin/napi/ohos_multimedia_camera.js +++ b/runtime/main/extend/systemplugin/napi/ohos_multimedia_camera.js @@ -271,18 +271,6 @@ export function mockMultimediaCamera() { }); } }, - setFocusPoint: function (...args) { - console.warn('CameraInput.setFocusPoint interface mocked in the Previewer. How this interface works on the' + - ' Previewer may be different from that on a real device.'); - const len = args.length; - if (typeof args[len - 1] === 'function') { - args[len - 1].call(this, paramMock.businessErrorMock); - } else { - return new Promise((resolve) => { - resolve(); - }); - } - }, getZoomRatioRange: function (...args) { console.warn('CameraInput.getZoomRatioRange interface mocked in the Previewer. How this interface works on the' + ' Previewer may be different from that on a real device.');