提交 45e61d6e 编写于 作者: S songchunpeng 提交者: SongChunPeng

fixed edbf5628 from https://gitee.com/s_c_p/xts_acts/pulls/6736

modify on focusStateChange
Signed-off-by: Nsongchunpeng <songchunpeng@huawei.com>
上级 18806717
......@@ -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.
先完成此消息的编辑!
想要评论请 注册