提交 bbde5b2e 编写于 作者: Q qinliwen

<modify cameraOrientation>

Signed-off-by: Nqinliwen <qinliwen3@huawei.com>
上级 83cda8b8
...@@ -69,15 +69,13 @@ struct cameraOrientation { ...@@ -69,15 +69,13 @@ struct cameraOrientation {
cameraListFn() { cameraListFn() {
this.cameraListLength = CameraService.cameras.length this.cameraListLength = CameraService.cameras.length
this.testingFrequency = this.cameraListLength * 4
Logger.info(this.tag, `cameraListFn testingFrequency: ${this.testingFrequency}`)
for (let index = 0; index < this.cameraListLength; index++) { for (let index = 0; index < this.cameraListLength; index++) {
this.cameraList.push({ this.cameraList.push({
value: `Camera ${index}` 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) => { handleTakePicture = (assetUri: string) => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册