mirror of
https://gitee.com/openharmony/telephony_core_service
synced 2024-11-23 08:00:07 +00:00
parent
fe72c1c02f
commit
f9ce977576
@ -2162,7 +2162,7 @@ napi_value JudgmentData(napi_env env, sptr<CellInformation> infoItem, CellInform
|
||||
static void NativeGetCellInformation(napi_env env, void *data)
|
||||
{
|
||||
auto asyncContext = static_cast<CellInformationContext *>(data);
|
||||
if (!IsValidSlotId(asyncContext->slotId)) {
|
||||
if (!IsValidSlotIdEx(asyncContext->slotId)) {
|
||||
TELEPHONY_LOGE("NativeGetCellInformation slotId is invalid");
|
||||
asyncContext->errorCode = ERROR_SLOT_ID_INVALID;
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user