diff --git a/frameworks/security_component/src/sec_comp_base.cpp b/frameworks/security_component/src/sec_comp_base.cpp index 5a76982df37e9f980a94854e9e1ab93458c77c57..66b94715bd43b60db90a770035d654e2bcb35788 100644 --- a/frameworks/security_component/src/sec_comp_base.cpp +++ b/frameworks/security_component/src/sec_comp_base.cpp @@ -76,7 +76,7 @@ const std::string JsonTagConstants::JSON_NON_COMPATIBLE_CHANGE_TAG = "hasNonComp const std::string JsonTagConstants::JSON_LINEAR_GRADIENT_BLUR_RADIUS_TAG = "blurRadius"; const std::string JsonTagConstants::JSON_FOREGROUND_BLUR_RADIUS_TAG = "foregroundBlurRadius"; const std::string JsonTagConstants::JSON_IS_OVERLAY_TEXT_SET_TAG = "isOverlayTextSet"; -const std::string JsonTagConstants::JSON_IS_OVERLAY_NODE_SET_TAG = "isOVerlayNodeCovered"; +const std::string JsonTagConstants::JSON_IS_OVERLAY_NODE_SET_TAG = "isOverlayNodeCovered"; bool SecCompBase::ParseNonCompatibleChange(const nlohmann::json& json) { diff --git a/services/security_component_service/sa/sa_main/sec_comp_service.cpp b/services/security_component_service/sa/sa_main/sec_comp_service.cpp index 9793c583df568321eb7a5dd244a0d3ae85d655e4..23f0c638d5636e6ab64d4d0f9b0dd6c158320a27 100644 --- a/services/security_component_service/sa/sa_main/sec_comp_service.cpp +++ b/services/security_component_service/sa/sa_main/sec_comp_service.cpp @@ -396,16 +396,16 @@ int32_t SecCompService::UnregisterReadFromRawdata(SecCompRawdata& rawData, int32 { MessageParcel deserializedData; if (!SecCompEnhanceAdapter::EnhanceSrvDeserialize(rawData, deserializedData)) { - SC_LOG_ERROR(LABEL, "Unreigster deserialize session info failed"); + SC_LOG_ERROR(LABEL, "Unregister deserialize session info failed"); return SC_SERVICE_ERROR_PARCEL_OPERATE_FAIL; } if (!deserializedData.ReadInt32(scId)) { - SC_LOG_ERROR(LABEL, "Unreigster read component id failed"); + SC_LOG_ERROR(LABEL, "Unregister read component id failed"); return SC_SERVICE_ERROR_PARCEL_OPERATE_FAIL; } if (scId < 0) { - SC_LOG_ERROR(LABEL, "Unreigster security component id invalid"); + SC_LOG_ERROR(LABEL, "Unregister security component id invalid"); return SC_SERVICE_ERROR_VALUE_INVALID; } return SC_OK; @@ -430,7 +430,7 @@ int32_t SecCompService::UnregisterWriteToRawdata(int32_t res, SecCompRawdata& ra } if (!SecCompEnhanceAdapter::EnhanceSrvSerialize(replyParcel, rawReply)) { - SC_LOG_ERROR(LABEL, "Unreigster serialize session info failed"); + SC_LOG_ERROR(LABEL, "Unregister serialize session info failed"); return SC_SERVICE_ERROR_PARCEL_OPERATE_FAIL; } return SC_OK;