fix get simstatus problem

Signed-off-by: liuxiyao223 <liuxiyao223@huawei.com>
This commit is contained in:
liuxiyao223 2023-12-25 14:06:55 +08:00
parent dd57d96905
commit 6cce131ab4

View File

@ -580,7 +580,7 @@ bool RilCallback::GetBoolResult(HdiId hdiId)
int32_t RilCallback::SimStateUpdated(const RilRadioResponseInfo &responseInfo)
{
HDF_LOGI("SimStateUpdated notice : slotId = %{public}d", responseInfo.slotId);
g_rilInterface->GetSimStatus(GetSerialId(), responseInfo.slotId);
g_rilInterface->GetSimStatus(responseInfo.slotId, GetSerialId());
return 0;
}