mirror of
https://gitee.com/openharmony/telephony_core_service
synced 2024-11-27 02:00:45 +00:00
update services/sim/src/sim_state_handle.cpp.
bugfix Signed-off-by: 刘峻朋 <liujunpeng20@huawei.com>
This commit is contained in:
parent
5dedab6854
commit
b8b19b7fec
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user