Signed-off-by: 罗建贞 <luojianzhen1@huawei.com>
This commit is contained in:
罗建贞 2024-02-02 18:00:06 +08:00
parent 5b10dc01fe
commit a223bbd63e
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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;