update services/sim/src/sim_state_handle.cpp.

bugfix

Signed-off-by: 刘峻朋 <liujunpeng20@huawei.com>
This commit is contained in:
刘峻朋 2024-11-14 15:19:55 +00:00 committed by Gitee
parent 5dedab6854
commit b8b19b7fec
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -591,7 +591,7 @@ void SimStateHandle::GetUnlockResult(int32_t slotId, const AppExecFwk::InnerEven
std::shared_ptr<LockStatusResp> param = event->GetSharedObject<LockStatusResp>();
std::shared_ptr<RadioResponseInfo> response = event->GetSharedObject<RadioResponseInfo>();
if ((param == nullptr) && (response == nullptr)) {
TELEPHONY_LOGE("SimStateHandle::GetUnlockResult() fail");
TELEPHONY_LOGE("SimStateHandle::GetSimUnlockResult() fail");
return;
}
if (param != nullptr) {
@ -603,7 +603,7 @@ void SimStateHandle::GetUnlockResult(int32_t slotId, const AppExecFwk::InnerEven
TELEPHONY_LOGE("SimStateHandle::GetUnlockResult param is null");
unlockRespon_.result = static_cast<int32_t>(response->error);
}
TELEPHONY_LOGI("SimStateHandle::GetUnlockResponse(), iccUnlockResponse = %{public}d", unlockRespon_.result);
TELEPHONY_LOGI("SimStateHandle::GetSimUnlockResponse(), iccUnlockResponse = %{public}d", unlockRespon_.result);
}
void SimStateHandle::GetUnlockSimLockResult(int32_t slotId, const AppExecFwk::InnerEvent::Pointer &event)