diff --git a/BUILD.gn b/BUILD.gn index a6df44042de7e1a918322785b54f806d2fc2199b..506eb7e26639c4eef8f234bdcd20d25b4dc3847a 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 d43ee41f2e1ac8283b3ff0b24d79d67952159369..5dd7b421f0633751ab1ad73c1d4cc2cad8e8b81a 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 5b54fa66cda6e4e44f9a601bb9711b3fe23c2994..df2808d9e144fc581e464c95e4306da6a3a895b9 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;