!929 补充StartAbility入参日志

Merge pull request !929 from liuhongjie/master
This commit is contained in:
openharmony_ci 2024-06-05 06:12:45 +00:00 committed by Gitee
commit 9df1479237
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 3 additions and 3 deletions

View File

@ -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) {

View File

@ -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<IRemoteObject> 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);