From d074be9edc6d4a303a538f3968e0f6477672796b Mon Sep 17 00:00:00 2001 From: Wanpucheng Date: Fri, 14 Jun 2024 11:21:02 +0800 Subject: [PATCH] =?UTF-8?q?nvrefresh=E5=AE=8C=E6=88=90=E5=90=8E=E8=AE=BE?= =?UTF-8?q?=E7=BD=AEattach=20apn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Wanpucheng --- BUILD.gn | 1 + bundle.json | 1 + services/ims_service_interaction/src/ims_call_callback_stub.cpp | 2 ++ 3 files changed, 4 insertions(+) diff --git a/BUILD.gn b/BUILD.gn index a6df440..506eb7e 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -80,6 +80,7 @@ ohos_shared_library("tel_cellular_call") { "ability_base:zuri", "c_utils:utils", "call_manager:tel_call_manager_api", + "cellular_data:tel_cellular_data_api", "common_event_service:cesfwk_innerkits", "core_service:libtel_common", "core_service:tel_core_service_api", diff --git a/bundle.json b/bundle.json index d43ee41..5dd7b42 100644 --- a/bundle.json +++ b/bundle.json @@ -33,6 +33,7 @@ "ability_base", "c_utils", "call_manager", + "cellular_data", "common_event_service", "core_service", "data_share", diff --git a/services/ims_service_interaction/src/ims_call_callback_stub.cpp b/services/ims_service_interaction/src/ims_call_callback_stub.cpp index 5b54fa6..df2808d 100644 --- a/services/ims_service_interaction/src/ims_call_callback_stub.cpp +++ b/services/ims_service_interaction/src/ims_call_callback_stub.cpp @@ -24,6 +24,7 @@ #include "tel_event_handler.h" #include "telephony_errors.h" #include "telephony_log_wrapper.h" +#include "cellular_data_manager_inner.h" namespace OHOS { namespace Telephony { @@ -1474,6 +1475,7 @@ int32_t ImsCallCallbackStub::CallNvCfgFinishedIndication(int32_t slotId) return TELEPHONY_ERR_LOCAL_PTR_NULL; } bool ret = TelEventHandler::SendTelEvent(handler, RadioEvent::RADIO_NV_REFRESH_FINISHED); + CellularDataManagerInner::GetInstance().SetRilAttachApn(slotId); if (!ret) { TELEPHONY_LOGE("[slot%{public}d] SendEvent failed!", slotId); return TELEPHONY_ERR_FAIL; -- Gitee