未验证 提交 46d5dc82 编写于 作者: O openharmony_ci 提交者: Gitee

!20986 【包管理】修改资料扫描缺陷

Merge pull request !20986 from junyi233/myfeature
......@@ -646,7 +646,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.');
......@@ -767,7 +767,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 {
......
......@@ -9,7 +9,7 @@
**系统接口:** 此接口为系统接口。
**系统能力**: SystemCapability.BundleManager.BundleFramework.Core
**系统能力**: SystemCapability.Ability.AbilityRuntime.Core
| 名称 | 类型 | 可读 | 可写 | 说明 |
| --------------------------------- | ------------------------------------------------------------ | ---- | ---- | -------------------- |
......
......@@ -41,7 +41,7 @@ import bundleMonitor from '@ohos.bundle.bundleMonitor';
| 名称 | 说明 |
| ---------- | --------------- |
| app | 监听应用事件。 |
| add | 监听应用事件。 |
| update | 监听更新事件。 |
| remove | 监听删除事件。 |
......
......@@ -244,7 +244,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.
先完成此消息的编辑!
想要评论请 注册