1e41f4b71Sopenharmony_ci# Ability Subsystem Changelog 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ci## cl.ability.1 Added the Verification to Check Whether the Caller to Start a UIExtensionAbility Is Running in the Foreground 4e41f4b71Sopenharmony_ci 5e41f4b71Sopenharmony_ci**Access Level** 6e41f4b71Sopenharmony_ci 7e41f4b71Sopenharmony_ciPublic API 8e41f4b71Sopenharmony_ci 9e41f4b71Sopenharmony_ci**Reason for Change** 10e41f4b71Sopenharmony_ci 11e41f4b71Sopenharmony_ciThe 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. 12e41f4b71Sopenharmony_ci 13e41f4b71Sopenharmony_ci**Change Impact** 14e41f4b71Sopenharmony_ci 15e41f4b71Sopenharmony_ciThis change is a non-compatible change. 16e41f4b71Sopenharmony_ci 17e41f4b71Sopenharmony_ciBefore change: A background application can successfully start a UIExtensionAbility. 18e41f4b71Sopenharmony_ci 19e41f4b71Sopenharmony_ciAfter change: A background application fails to start a UIExtensionAbility. 20e41f4b71Sopenharmony_ci 21e41f4b71Sopenharmony_ci**Start API Level** 22e41f4b71Sopenharmony_ci 23e41f4b71Sopenharmony_ci11 24e41f4b71Sopenharmony_ci 25e41f4b71Sopenharmony_ci**Change Since** 26e41f4b71Sopenharmony_ci 27e41f4b71Sopenharmony_ciOpenHarmony SDK 5.0.0.39 28e41f4b71Sopenharmony_ci 29e41f4b71Sopenharmony_ci**Key API/Component Changes** 30e41f4b71Sopenharmony_ci 31e41f4b71Sopenharmony_ci1. **UIAbilityContext.startAbilityByType** and **UIExtensionContentSession.startAbilityByType** 32e41f4b71Sopenharmony_ci 33e41f4b71Sopenharmony_ci2. APIs that have the capability to start a UIExtensionAbility 34e41f4b71Sopenharmony_ci 35e41f4b71Sopenharmony_ci**Adaptation Guide** 36e41f4b71Sopenharmony_ci 37e41f4b71Sopenharmony_ciNo adaptation is required. After the change, background applications are not allowed to start a UIExtensionAbility. 38