未验证 提交 814f8546 编写于 作者: O openharmony_ci 提交者: Gitee

!20989 【包管理】修改资料扫描缺陷--挑单3.2

Merge pull request !20989 from junyi233/release
......@@ -645,7 +645,7 @@ SystemCapability.BundleManager.BundleFramework
```ts
let bundleName = "com.example.myapplication";
bundleManager.setApplicationEnabled(bundleName, false).then(()=> {
bundle.setApplicationEnabled(bundleName, false).then(()=> {
console.info('setApplicationEnabled successfully.');
}).catch(err=> {
console.error('setApplicationEnabled failed.');
......@@ -766,7 +766,7 @@ SystemCapability.BundleManager.BundleFramework
```ts
let permission = "ohos.permission.GET_BUNDLE_INFO";
bundleManager.getPermissionDef(permission, (err, data) => {
bundle.getPermissionDef(permission, (err, data) => {
if (err) {
console.error('getPermissionDef failed:' + err.message);
} else {
......
......@@ -41,7 +41,7 @@ import bundleMonitor from '@ohos.bundle.bundleMonitor';
| 名称 | 说明 |
| ---------- | --------------- |
| app | 监听应用事件。 |
| add | 监听应用事件。 |
| update | 监听更新事件。 |
| remove | 监听删除事件。 |
......
......@@ -240,7 +240,7 @@ decompressFile(inFile: string, outFile: string, options: Options, callback: Asyn
以下错误码的详细介绍请参见[ohos.zlib错误码](../errorcodes/errorcode-zlib.md)
| 错误码ID | 错误信息
| 错误码ID | 错误信息 |
| -------- | --------------------------------------|
| 900001 | The Input source file is invalid. |
| 900002 | The Input destination file is invalid. |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册