diff --git a/distributeddatamgr/udmf/BUILD.gn b/distributeddatamgr/udmf/BUILD.gn index b4e619bcfcbc83850be778730a893b807315b7b1..9dc8f7a62f4e2104f99c6c9302dc0e4f7b010eed 100644 --- a/distributeddatamgr/udmf/BUILD.gn +++ b/distributeddatamgr/udmf/BUILD.gn @@ -28,6 +28,7 @@ ohos_ndk_headers("udmf_ndk_header") { ohos_ndk_library("libudmf") { output_name = "udmf" + output_extension = "so" system_capability = "SystemCapability.DistributedDataManager.UDMF.Core" ndk_description_file = "./libudmf.ndk.json" min_compact_version = "12" diff --git a/distributeddatamgr/udmf/include/udmf_err_code.h b/distributeddatamgr/udmf/include/udmf_err_code.h index 4a479bdc6904c99e7e42fa930d42851af95284fa..105191c7c040db176267497551b13ee668468dd6 100644 --- a/distributeddatamgr/udmf/include/udmf_err_code.h +++ b/distributeddatamgr/udmf/include/udmf_err_code.h @@ -56,22 +56,14 @@ typedef enum Udmf_ErrCode { * The error code in the correct case. */ UDMF_E_OK = 0, - /** - * @brief The error when the capability not supported. - */ - UDMF_E_NOT_SUPPORTED = 801, /** * @brief The error code for common exceptions. */ UDMF_ERR = 20400000, - /** - * @brief The error code for not support this data parse exceptions. - */ - UDMF_E_NOT_PARSE_DATA = (UDMF_ERR + 1), /** * @brief The error code for common invalid args. */ - UDMF_E_INVALID_PARAM = (UDMF_ERR + 2), + UDMF_E_INVALID_PARAM = (UDMF_ERR + 1), } Udmf_ErrCode; #ifdef __cplusplus