mirror of
https://gitee.com/openharmony/telephony_core_service
synced 2024-11-27 02:00:45 +00:00
commit
476f7f5764
@ -107,6 +107,10 @@ void NetworkSearchState::SetNetworkStateToRoaming(RoamingType roamingType, Domai
|
||||
int32_t NetworkSearchState::GetImsStatus(ImsServiceType imsSrvType, ImsRegInfo &info)
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(imsMutex_);
|
||||
if (imsServiceStatus_ == nullptr) {
|
||||
TELEPHONY_LOGE("imsServiceStatus_ is null!");
|
||||
return TELEPHONY_ERR_LOCAL_PTR_NULL;
|
||||
}
|
||||
bool isRegister = false;
|
||||
switch (imsSrvType) {
|
||||
case ImsServiceType::TYPE_VOICE:
|
||||
|
Loading…
Reference in New Issue
Block a user