提交 edbf5628 编写于 作者: S songchunpeng

modify on focusStateChange

Signed-off-by: Nsongchunpeng <songchunpeng@huawei.com>
上级 138e777a
......@@ -1575,19 +1575,8 @@ export default function cameraSessionTest(surfaceId: any) {
await mCameraSession.start();
await beginCameraSessionConfig();
mCameraSession.setFocusMode(cameraObj.FocusMode.FOCUS_MODE_AUTO);
await commitCameraSessionConfig();
await sleep(100);
await beginCameraSessionConfig();
mCameraSession.setFocusMode(cameraObj.FocusMode.FOCUS_MODE_CONTINUOUS_AUTO);
await commitCameraSessionConfig();
await mCameraSession.setFocusMode(cameraObj.FocusMode.FOCUS_MODE_AUTO);
await mCameraSession.setFocusMode(cameraObj.FocusMode.FOCUS_MODE_CONTINUOUS_AUTO);
await sleep(100);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册