mirror of
https://github.com/openharmony/ability_ability_runtime.git
synced 2026-08-24 12:43:16 -04:00
Signed-off-by: xuchenghua <xuchenghua09@huawei.com>
This commit is contained in:
@@ -216,9 +216,6 @@ void AbilityRecord::ProcessForegroundAbility()
|
||||
// background to activte state
|
||||
HILOG_DEBUG("MoveToForground, %{public}s", element.c_str());
|
||||
DelayedSingleton<AppScheduler>::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();
|
||||
|
||||
Reference in New Issue
Block a user