未验证 提交 4abbc946 编写于 作者: O openharmony_ci 提交者: Gitee

!5908 【媒体子系统】删除camera无关用例

Merge pull request !5908 from liuxueqi/master
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"description": "Configuration for camerastandard Tests", "description": "Configuration for camerastandard Tests",
"driver": { "driver": {
"type": "JSUnitTest", "type": "JSUnitTest",
"test-timeout": "1000000", "test-timeout": "2000000",
"package": "com.open.harmony.multimedia.cameratest", "package": "com.open.harmony.multimedia.cameratest",
"shell-timeout": "60000" "shell-timeout": "60000"
}, },
......
...@@ -78,8 +78,16 @@ ...@@ -78,8 +78,16 @@
"reason": "use ohos.permission.READ_MEDIA" "reason": "use ohos.permission.READ_MEDIA"
}, },
{ {
"name": "ohos.permission.WRITE_MEDIA", "name": "ohos.permission.START_ABILITIES_FROM_BACKGROUND",
"reason": "use ohos.permission.WRITE_MEDIA" "reason": "use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
},
{
"name": "ohos.permission.START_INVISIBLE_ABILITY",
"reason": "use ohos.permission.START_INVISIBLE_ABILITY"
},
{
"name": "ohos.permission.ABILITY_BACKGROUND_COMMUNICATION",
"reason": "use ohos.permission.ABILITY_BACKGROUND_COMMUNICATION"
} }
], ],
"js": [ "js": [
......
...@@ -57,6 +57,7 @@ struct CameraIndex { ...@@ -57,6 +57,7 @@ struct CameraIndex {
console.info(TAG + 'Entering core.init()') console.info(TAG + 'Entering core.init()')
console.info(TAG + 'Entering subscribeEvent') console.info(TAG + 'Entering subscribeEvent')
const configService = core.getDefaultService('config') const configService = core.getDefaultService('config')
Want.parameters['timeout'] = 60000
configService.setConfig(Want.parameters) configService.setConfig(Want.parameters)
console.info(TAG + 'Entering configService') console.info(TAG + 'Entering configService')
cameraKit(surfaceId) cameraKit(surfaceId)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册