Bundle Manager Subsystem Changelog
cl.bundlemanager.1 Deleted getAbilityIcon
The getAbilityIcon API in @ohos.bundle.bundleManager.d.ts is deleted. The getMediaContent API in @ohos.resourceManager.d.ts can be used instead.
Change Impact
The getAbilityIcon API does not take effect.
Key API/Component Changes
The getAbilityIcon API is deleted from @ohos.bundle.bundleManager.d.ts.
Adaptation Guide
If your application uses getAbilityIcon in @ohos.bundle.bundleManager.d.ts, replace it with getMediaContent in @ohos.resourceManager.d.ts. You need to obtain the icon ID in advance. For details, see Usage Guide.
cl.bundlemanager.2 Added Error Code 202
Error code 202 is added to the bundle manager subsystem. If a non-system application calls a system API of API version 9 or later provided by the bundle manager subsystem, error code 202 is returned.
Change Impact
Error code 202 is returned when a non-system application calls a system API of API version 9 or later provided by the bundle manager subsystem.
Key API/Component Changes
If a non-system application calls a system API of API version 9 or later provided by the bundle manager subsystem, error code 202 is returned.
Adaptation Guide
No adaptation is required.