适配最新dts修改

Signed-off-by: 郑晓晴 <zhaoxiaoqing17@h-partners.com>
This commit is contained in:
郑晓晴 2024-11-14 16:25:11 +08:00
parent 65715d66c2
commit aefce08dff
2 changed files with 4 additions and 0 deletions

View File

@ -510,6 +510,9 @@ bool NapiUtil::CreateEsimServiceErrorMessageForJs(int32_t errorCode, JsErrorCode
case TELEPHONY_ERR_IPC_CONNECT_STUB_FAIL:
jsErrorCode = JS_ERROR_ESIM_SERVICE_ERROR;
break;
case TELEPHONY_ERR_NOT_SUPPORT_ESIM:
jsErrorCode = JS_ERROR_DEVICE_NOT_SUPPORT_THIS_API;
break;
default:
flag = false;
break;

View File

@ -81,6 +81,7 @@ enum {
TELEPHONY_ERR_MMS_FAIL_HTTP_ERROR,
TELEPHONY_ERR_MMS_FAIL_DATA_NETWORK_ERROR,
TELEPHONY_ERR_VCARD_FILE_INVALID,
TELEPHONY_ERR_NOT_SUPPORT_ESIM,
};
// Error code for telephony call manager