diff --git a/services/abilitymgr/src/ability_manager_service.cpp b/services/abilitymgr/src/ability_manager_service.cpp index 5797d2a272746ab17808b8aeb3de8b30bf116b06..b64bad91d0d3bea86dff8bfc16395d4da9860a4a 100644 --- a/services/abilitymgr/src/ability_manager_service.cpp +++ b/services/abilitymgr/src/ability_manager_service.cpp @@ -2235,6 +2235,7 @@ void AbilityManagerService::StartingLauncherAbility() /* First stage, hardcoding for the first launcher App */ auto userId = GetUserId(); Want want; + want.AddEntity(Want::FLAG_HOME_INTENT_FROM_SYSTEM); want.SetElementName(AbilityConfig::LAUNCHER_BUNDLE_NAME, AbilityConfig::LAUNCHER_ABILITY_NAME); while (!(iBundleManager_->QueryAbilityInfo(want, AppExecFwk::AbilityInfoFlag::GET_ABILITY_INFO_WITH_APPLICATION, userId, abilityInfo))) {