mirror of
https://gitee.com/openharmony/telephony_core_service
synced 2024-12-12 10:36:19 +00:00
网络增强特性3
Signed-off-by: z00574406 <zhouli94@huawei.com> Change-Id: Ifb8fc06af9ac38947f981c5cbc8943b2201b2776
This commit is contained in:
parent
1401cd7466
commit
26d3d4d52c
@ -34,7 +34,7 @@ void NetworkType::ProcessGetPreferredNetwork(const AppExecFwk::InnerEvent::Point
|
||||
}
|
||||
std::shared_ptr<PreferredNetworkTypeInfo> preferredNetworkInfo =
|
||||
event->GetSharedObject<PreferredNetworkTypeInfo>();
|
||||
if (TELEPHONY_EXT_WRAPPER.getPreferredNetworkExt_ != nullptr) {
|
||||
if (TELEPHONY_EXT_WRAPPER.getPreferredNetworkExt_ != nullptr && preferredNetworkInfo != nullptr) {
|
||||
TELEPHONY_EXT_WRAPPER.getPreferredNetworkExt_(preferredNetworkInfo->preferredNetworkType);
|
||||
}
|
||||
std::shared_ptr<HRilRadioResponseInfo> responseInfo = event->GetSharedObject<HRilRadioResponseInfo>();
|
||||
|
@ -412,7 +412,7 @@ int32_t RadioInfo::ProcessGetNrOptionMode(const AppExecFwk::InnerEvent::Pointer
|
||||
return TELEPHONY_ERR_LOCAL_PTR_NULL;
|
||||
}
|
||||
std::shared_ptr<NrModeInfo> nrModeInfo = event->GetSharedObject<NrModeInfo>();
|
||||
if (TELEPHONY_EXT_WRAPPER.getNrOptionModeExt_ != nullptr) {
|
||||
if (TELEPHONY_EXT_WRAPPER.getNrOptionModeExt_ != nullptr && nrModeInfo != nullptr) {
|
||||
TELEPHONY_EXT_WRAPPER.getNrOptionModeExt_(slotId_, nrModeInfo->nrMode);
|
||||
}
|
||||
std::shared_ptr<HRilRadioResponseInfo> responseInfo = event->GetSharedObject<HRilRadioResponseInfo>();
|
||||
|
Loading…
Reference in New Issue
Block a user