未验证 提交 6cfbc255 编写于 作者: O openharmony_ci 提交者: Gitee

!6736 rk超时修复

Merge pull request !6736 from SongChunPeng/master
......@@ -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.
先完成此消息的编辑!
想要评论请 注册