harmony 鸿蒙Bundle Manager Subsystem Changelog

  • 2023-06-24
  • 浏览 (366)

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.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙App Access Control Subsystem ChangeLog

harmony 鸿蒙Security Subsystem Changelog

harmony 鸿蒙Web Subsystem Changelog

harmony 鸿蒙Account Subsystem Changelog

harmony 鸿蒙ArkUI Subsystem Changelog

harmony 鸿蒙Common Event Subsystem Changelog

harmony 鸿蒙File Management Subsystem Changelog

harmony 鸿蒙Pasteboard Subsystem Changelog

harmony 鸿蒙Power Subsystem Changelog

harmony 鸿蒙Pan-sensor Subsystem Changelog

0  赞