提交 83cda8b8 编写于 作者: Q qinliwen

<add log>

Signed-off-by: Nqinliwen <qinliwen3@huawei.com>
上级 87ece284
......@@ -74,7 +74,10 @@ struct cameraOrientation {
value: `Camera ${index}`
})
}
Logger.info(this.tag, `cameraListFn testingFrequency: ${this.testingFrequency}`)
Logger.info(this.tag, `cameraListFn cameraListLength: ${this.cameraListLength}`)
this.testingFrequency = this.cameraListLength * 4
Logger.info(this.tag, `cameraListFn testingFrequency: ${this.testingFrequency}`)
}
handleTakePicture = (assetUri: string) => {
......@@ -87,6 +90,7 @@ struct cameraOrientation {
// @ts-ignore
this.surfaceId = this.mXComponentController.getXComponentSurfaceId()
CameraService.initCamera(this.surfaceId, this.cameraDeviceIndex).then(() => {
Logger.info(this.tag, `onPageShow initCamera start`)
this.cameraListFn()
})
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册