mirror of
https://gitee.com/openharmony/ability_ability_runtime
synced 2024-11-23 15:20:34 +00:00
commit
3474fe28d1
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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__);
|
||||
|
Loading…
Reference in New Issue
Block a user