!11561 bycall加日志

Merge pull request !11561 from savior-xzh/bycall
This commit is contained in:
openharmony_ci 2024-11-14 12:09:32 +00:00 committed by Gitee
commit 3474fe28d1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 4 additions and 3 deletions

View File

@ -1065,7 +1065,7 @@ ErrCode AbilityManagerClient::StartAbilityByCall(const Want &want, sptr<IAbility
{
auto abms = GetAbilityManager();
CHECK_POINTER_RETURN_NOT_CONNECTED(abms);
TAG_LOGD(AAFwkTag::ABILITYMGR, "called");
TAG_LOGI(AAFwkTag::ABILITYMGR, "ByCall, ability:%{public}s", want.GetElement().GetURI().c_str());
return abms->StartAbilityByCall(want, connect, nullptr, DEFAULT_INVAL_VALUE);
}
@ -1074,7 +1074,8 @@ ErrCode AbilityManagerClient::StartAbilityByCall(const Want &want, sptr<IAbility
{
auto abms = GetAbilityManager();
CHECK_POINTER_RETURN_NOT_CONNECTED(abms);
TAG_LOGD(AAFwkTag::ABILITYMGR, "called");
TAG_LOGI(AAFwkTag::ABILITYMGR, "ByCall, ability:%{public}s, userId:%{public}d",
want.GetElement().GetURI().c_str(), accountId);
return abms->StartAbilityByCall(want, connect, callToken, accountId);
}

View File

@ -890,7 +890,7 @@ void UIAbilityLifecycleManager::MoveToBackground(const std::shared_ptr<AbilityRe
int UIAbilityLifecycleManager::ResolveLocked(const AbilityRequest &abilityRequest)
{
TAG_LOGI(AAFwkTag::ABILITYMGR, "ability_name:%{public}s", abilityRequest.want.GetElement().GetURI().c_str());
TAG_LOGI(AAFwkTag::ABILITYMGR, "ByCall, ability:%{public}s", abilityRequest.want.GetElement().GetURI().c_str());
if (!abilityRequest.IsCallType(AbilityCallType::CALL_REQUEST_TYPE)) {
TAG_LOGE(AAFwkTag::ABILITYMGR, "%{public}s, resolve ability_name:", __func__);