mirror of
https://gitee.com/openharmony/telephony_core_service
synced 2025-02-17 07:47:43 +00:00
--ammend
Signed-off-by: 罗建贞 <luojianzhen1@huawei.com>
This commit is contained in:
parent
5b10dc01fe
commit
a223bbd63e
@ -418,7 +418,7 @@ void NetworkSearchState::NotifyStateChange()
|
||||
}
|
||||
|
||||
if (TELEPHONY_EXT_WRAPPER.updateNetworkStateExt_ != nullptr) {
|
||||
TELEPHONY_EXT_WRAPPER.updateNetworkStateExt_(slotId_, std::move(networkState_));
|
||||
TELEPHONY_EXT_WRAPPER.updateNetworkStateExt_(slotId_, networkState_);
|
||||
}
|
||||
// We must Update RadioTech(PhoneType) bebore notifying observers,
|
||||
// otherwise observers may get the wrong phone type
|
||||
|
@ -63,7 +63,7 @@ public:
|
||||
|
||||
typedef void (*UPDATE_COUNTRY_CODE_EXT)(int32_t, const char *);
|
||||
typedef void (*UPDATE_TIME_ZONE_OFFSET_EXT)(int32_t, int32_t);
|
||||
typedef void (*UPDATE_NETWORK_STATE_EXT)(int32_t slotId, std::unique_ptr<NetworkState> networkState);
|
||||
typedef void (*UPDATE_NETWORK_STATE_EXT)(int32_t slotId, std::unique_ptr<NetworkState> &networkState);
|
||||
|
||||
CHECK_OPC_VERSION_IS_UPDATE checkOpcVersionIsUpdate_ = nullptr;
|
||||
UPDATE_OPC_VERSION updateOpcVersion_ = nullptr;
|
||||
|
Loading…
x
Reference in New Issue
Block a user