diff --git a/services/abilitymgr/src/ability_record.cpp b/services/abilitymgr/src/ability_record.cpp index 37b839e90b..6d420d9879 100755 --- a/services/abilitymgr/src/ability_record.cpp +++ b/services/abilitymgr/src/ability_record.cpp @@ -216,9 +216,6 @@ void AbilityRecord::ProcessForegroundAbility() // background to activte state HILOG_DEBUG("MoveToForground, %{public}s", element.c_str()); DelayedSingleton::GetInstance()->MoveToForground(token_); - } else if (IsAbilityState(AbilityState::FOREGROUND_NEW)) { - HILOG_DEBUG("already foreground_new, no need lifecycle. %{public}s", element.c_str()); - return; } else { HILOG_DEBUG("Activate %{public}s", element.c_str()); ForegroundAbility();