harmony 鸿蒙Ability Subsystem Changelog
Ability Subsystem Changelog
cl.ability.1 Added the Verification to Check Whether the Caller to Start a UIExtensionAbility Is Running in the Foreground
Access Level
Public API
Reason for Change
The UIExtensionAbility can be started only by an application running in the foreground. However, the system does not check whether the caller is a foreground application when the application attempts to start a UIExtensionAbility.
Change Impact
This change is a non-compatible change.
Before change: A background application can successfully start a UIExtensionAbility.
After change: A background application fails to start a UIExtensionAbility.
Start API Level
11
Change Since
OpenHarmony SDK 5.0.0.39
Key API/Component Changes
UIAbilityContext.startAbilityByType and UIExtensionContentSession.startAbilityByType
APIs that have the capability to start a UIExtensionAbility
Adaptation Guide
No adaptation is required. After the change, background applications are not allowed to start a UIExtensionAbility.
你可能感兴趣的鸿蒙文章
harmony 鸿蒙ArkCompiler Subsystem Changelog
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
7、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦