diff --git a/services/abilitymgr/src/mission_list_manager.cpp b/services/abilitymgr/src/mission_list_manager.cpp index 578a0fcae6190942d6937750a67781fc0ebabf37..ad18cc881392b14b69db3102e43c82b24a7dccc3 100644 --- a/services/abilitymgr/src/mission_list_manager.cpp +++ b/services/abilitymgr/src/mission_list_manager.cpp @@ -1934,11 +1934,6 @@ void MissionListManager::HandleForegroundTimeout(const std::shared_ptrGetMission()->SetMovingState(false); } - if (!ability->IsAbilityState(AbilityState::FOREGROUNDING)) { - HILOG_ERROR("this ability is not foregrounding state."); - return; - } - // root launcher load timeout, notify appMs force terminate the ability and restart immediately. if (ability->IsLauncherAbility() && ability->IsLauncherRoot()) { DelayedSingleton::GetInstance()->AttachTimeOut(ability->GetToken());