未验证 提交 205a0dc3 编写于 作者: O openharmony_ci 提交者: Gitee

!3194 media test for recorder format

Merge pull request !3194 from NOBUGGERS/r00514670_0517
......@@ -85,14 +85,7 @@ describe('AudioRecorderFormatCompatibilityTest', function () {
let permissionName2 = 'ohos.permission.MEDIA_LOCATION';
let permissionName3 = 'ohos.permission.READ_MEDIA';
let permissionName4 = 'ohos.permission.WRITE_MEDIA';
await atManager.grantUserGrantedPermissi
on(tokenID, permissionName1, 1).then((result) => {
await atManager.grantUserGrantedPermission(tokenID, permissionName1, 1).then((result) => {
console.info('[permission] case grantUserGrantedPermission success :' + result);
}).catch((err) => {
console.error('[permission] case grantUserGrantedPermission failed :' + err);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册