!671 修复应用退出后源端不发送失焦广播问题

Merge pull request !671 from zhx/master
This commit is contained in:
openharmony_ci 2023-07-11 14:35:15 +00:00 committed by Gitee
commit f9d13757fd
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -277,7 +277,7 @@ int32_t DistributedSchedContinueManager::CheckContinueState(const int32_t missio
int32_t ret = AAFwk::AbilityManagerClient::GetInstance()->GetMissionInfo("", missionId, info);
if (ret != ERR_OK) {
HILOGE("get missionInfo failed, missionId: %{public}d, ret: %{public}d", missionId, ret);
return ret;
return ERR_OK;
}
if (info.continueState != AAFwk::ContinueState::CONTINUESTATE_ACTIVE) {
HILOGE("Mission continue state set to INACTIVE. Broadcast task abort.");