From 75408e2a3b688631b7983fb8e342448d0cdd3ce8 Mon Sep 17 00:00:00 2001 From: liuhongjie Date: Wed, 5 Jun 2024 12:59:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85StartAbility=E4=BC=A0?= =?UTF-8?q?=E5=8F=82flag=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liuhongjie --- services/dtbschedmgr/src/continue/dsched_continue.cpp | 2 +- services/dtbschedmgr/src/distributed_sched_service.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/services/dtbschedmgr/src/continue/dsched_continue.cpp b/services/dtbschedmgr/src/continue/dsched_continue.cpp index 70ee19db..1e196a24 100644 --- a/services/dtbschedmgr/src/continue/dsched_continue.cpp +++ b/services/dtbschedmgr/src/continue/dsched_continue.cpp @@ -928,7 +928,7 @@ int32_t DSchedContinue::StartAbility(const OHOS::AAFwk::Want& want, int32_t requ return ret; } - HILOGI("ExecuteContinueData StartAbility start"); + HILOGI("ExecuteContinueData StartAbility start, flag is %{public}d", want.GetFlags()); DmsRadar::GetInstance().ClickIconDmsStartAbility("StartAbility", ret); ret = AAFwk::AbilityManagerClient::GetInstance()->StartAbility(want, DEFAULT_REQUEST_CODE, activeAccountId); if (ret != ERR_OK) { diff --git a/services/dtbschedmgr/src/distributed_sched_service.cpp b/services/dtbschedmgr/src/distributed_sched_service.cpp index 3da072b7..c25673e1 100644 --- a/services/dtbschedmgr/src/distributed_sched_service.cpp +++ b/services/dtbschedmgr/src/distributed_sched_service.cpp @@ -3027,12 +3027,12 @@ int32_t DistributedSchedService::StartAbility(const OHOS::AAFwk::Want& want, int return err; } if (want.GetBoolParam(Want::PARAM_RESV_FOR_RESULT, false)) { - HILOGI("StartAbilityForResult start"); + HILOGI("StartAbilityForResult start, flag is %{public}d", want.GetFlags()); sptr dmsTokenCallback = new DmsTokenCallback(); err = AAFwk::AbilityManagerClient::GetInstance()->StartAbility(want, dmsTokenCallback, requestCode, activeAccountId); } else { - HILOGI("StartAbility start"); + HILOGI("StartAbility start, flag is %{public}d", want.GetFlags()); if (DmsContinueTime::GetInstance().GetPull()) { int64_t begin = GetTickCount(); DmsContinueTime::GetInstance().SetDurationBegin(DMSDURATION_STARTABILITY, begin);