修复phoneType为默认值时,运营商信息不会更新,导致广播的注册状态中没有运营商信息

Signed-off-by: 罗建贞 <luojianzhen1@huawei.com>
This commit is contained in:
罗建贞 2024-08-28 07:45:36 +00:00 committed by Gitee
parent 15a469e821
commit 6567eb9322
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -718,6 +718,7 @@ void NetworkSearchHandler::RadioRilOperator(const AppExecFwk::InnerEvent::Pointe
} else if (operatorInfoResult_->flag == NetworkSearchManagerInner::SERIAL_NUMBER_EXEMPT) {
if (operatorName_ != nullptr) {
operatorName_->HandleOperatorInfo(operatorInfoResult_);
networkSearchManager->ProcessNotifyStateChangeEvent(slotId_);
}
} else {
TELEPHONY_LOGI("Aborting outdated operator info event slotId:%{public}d", slotId_);