!1428 SIM卡鉴权问题处理

Merge pull request !1428 from Aurora/master
This commit is contained in:
openharmony_ci 2023-10-23 07:45:18 +00:00 committed by Gitee
commit 6b984ac0a7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -492,7 +492,7 @@ void SimStateHandle::GetUnlockSimLockResult(const AppExecFwk::InnerEvent::Pointe
void SimStateHandle::GetSimAuthenticationResult(int32_t slotId, const AppExecFwk::InnerEvent::Pointer &event)
{
TELEPHONY_LOGI("SimStateHandle::GetSimAuthenticationResult slotId = %{public}d", slotId);
auto response = event->GetUniqueObject<IccIoResultInfo>();
auto response = event->GetSharedObject<IccIoResultInfo>();
if (response == nullptr) {
TELEPHONY_LOGE("SimStateHandle::GetSimAuthenticationResult() fail");
return;