提交 83155534 编写于 作者: W wusongqing

updated docs against 4556

Signed-off-by: Nwusongqing <wusongqing@huawei.com>
上级 4192270e
...@@ -155,8 +155,7 @@ In the cross-device scenario, the application must also apply for the data synch ...@@ -155,8 +155,7 @@ In the cross-device scenario, the application must also apply for the data synch
for (let i = 0;i < array.length; i++) { for (let i = 0;i < array.length; i++) {
let result = await atManager.verifyAccessToken(tokenID, array[i]); let result = await atManager.verifyAccessToken(tokenID, array[i]);
console.info("verifyAccessToken result:" + JSON.stringify(result)); console.info("verifyAccessToken result:" + JSON.stringify(result));
if (result == abilityAccessCtrl.GrantStatus.PERMISSION_GRANTED) { if (result != abilityAccessCtrl.GrantStatus.PERMISSION_GRANTED) {
} else {
requestPermissions.push(array[i]); requestPermissions.push(array[i]);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册