提交 ad1cbdc4 编写于 作者: S SoftSquirrel

#I5ENEP: #I5E3WQ: add default application doc, system api.

Description: add default application doc, system api.
Sig: SIG_ApplicaitonFramework
Feature or Bugfix: Feature
Binary Source: No
Signed-off-by: NSoftSquirrel <xuhao47@huawei.com>
上级 6669819d
......@@ -242,7 +242,8 @@ defaultAppMgr.setDefaultApplication(defaultAppMgr.ApplicationType.BROWSER, {
})
.then((data) => {
console.info('Operation successful.');
}).catch((error) => {
})
.catch((error) => {
console.error('Operation failed. Cause: ' + JSON.stringify(error));
});
......@@ -253,7 +254,8 @@ defaultAppMgr.setDefaultApplication("image/png", {
})
.then((data) => {
console.info('Operation successful.');
}).catch((error) => {
})
.catch((error) => {
console.error('Operation failed. Cause: ' + JSON.stringify(error));
});
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册