mirror of
https://gitee.com/openharmony/telephony_core_service
synced 2024-11-27 02:00:45 +00:00
适配最新dts修改
Signed-off-by: 郑晓晴 <zhaoxiaoqing17@h-partners.com>
This commit is contained in:
parent
65715d66c2
commit
aefce08dff
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user