!2169 非系统应用,卡片路由事件只能跳转到本应用

Merge pull request !2169 from 李伟峰/master
This commit is contained in:
openharmony_ci
2022-04-11 07:17:04 +00:00
committed by Gitee
@@ -418,7 +418,9 @@ std::string FormManagerDelegate::WrapAction(const std::string& action)
if (!eventAction->Contains("bundleName")) {
eventAction->Put("bundleName", wantCache_.GetElement().GetBundleName().c_str());
}
return eventAction->ToString();
auto newAction = eventAction->ToString();
OHOS::AppExecFwk::FormMgr::GetInstance().UpdateRouterAction(runningCardId_, newAction);
return newAction;
}
#endif
} // namespace OHOS::Ace