harmony 鸿蒙Bundle Manager Subsystem Changelog
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
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦