1# 包管理子系统ChangeLog
2
3## cl.bundlemanager.1 包管理删除@ohos.bundle.bundleManager.d.ts中的getAbilityIcon接口,可以使用@ohos.resourceManager.d.ts中的getMediaContent替换。
4
5包管理删除[@ohos.bundle.bundleManager.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.bundle.bundleManager.d.ts)中的getAbilityIcon接口,可以使用[@ohos.resourceManager.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.resourceManager.d.ts)中的getMediaContent替换。
6
7**变更影响**<br>
8使用之前已发布的API 9各beta版本且使用到了getAbilityIcon接口的,需要改为使用getMediaContent接口。
9
10**关键的接口/组件变更**<br>
11删除@ohos.bundle.bundleManager.d.ts中的getAbilityIcon接口。
12
13**适配指导**<br>
14使用@ohos.bundle.bundleManager.d.ts下面的getAbilityIcon,需要修改为@ohos.resourceManager.d.ts中的getMediaContent。需要提前获取到图标的资源ID值,可参考该接口的[使用指导](../../../application-dev/reference/apis/js-apis-resource-manager.md#getmediacontent9)。
15
16## cl.bundlemanager.2 包管理新增202错误码
17
18包管理系统新增202错误码,非系统应用调用api9及之后包管理提供的系统api,将返回错误202。
19
20**变更影响**<br>
21非系统应用调用api9及之后包管理提供的系统api,将返回错误202。
22
23**关键的接口/组件变更**<br>
24所有包管理提供的api9及之后的系统api,非系统应用调用将返回错误202。
25
26**适配指导**<br>
27不影响已开发的程序,无需适配。