From f65a4e6f4ee24658d8206702fe0166c8977b5bb1 Mon Sep 17 00:00:00 2001 From: zhaoyuan17 Date: Mon, 22 Nov 2021 16:42:52 +0000 Subject: [PATCH] Modify test bug Signed-off-by: zhaoyuan17 --- frameworks/wantagent/src/want_agent_helper.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/frameworks/wantagent/src/want_agent_helper.cpp b/frameworks/wantagent/src/want_agent_helper.cpp index 5b3c49c1b..fcb6d2757 100644 --- a/frameworks/wantagent/src/want_agent_helper.cpp +++ b/frameworks/wantagent/src/want_agent_helper.cpp @@ -152,6 +152,7 @@ std::shared_ptr WantAgentHelper::GetWantAgent(const WantAgentInfo &pa wantSenderInfo.allWants.push_back(wantsInfo); wantSenderInfo.bundleName = want->GetOperation().GetBundleName(); wantSenderInfo.flags = FlagsTransformer(paramsInfo.GetFlags()); + wantSenderInfo.type = (int32_t)paramsInfo.GetOperationType(); sptr target = AbilityManagerClient::GetInstance()->GetWantSender(wantSenderInfo, nullptr); if (target == nullptr) { -- Gitee