diff --git a/frameworks/native/ability/native/ability_business_error/ability_business_error.cpp b/frameworks/native/ability/native/ability_business_error/ability_business_error.cpp index 477a1cc50a6da86831e6d1f7c09031e187bfc87a..098782a6c9eac51808ed1144cdb852dfe41511c9 100644 --- a/frameworks/native/ability/native/ability_business_error/ability_business_error.cpp +++ b/frameworks/native/ability/native/ability_business_error/ability_business_error.cpp @@ -74,7 +74,7 @@ constexpr const char* ERROR_MSG_WUKONG_MODE_CANT_MOVE_STATE = constexpr const char* ERROR_MSG_START_OPTIONS_CHECK_FAILED = "The StartOptions check failed."; constexpr const char* ERROR_MSG_ABILITY_ALREADY_RUNNING = "The ability is already running."; constexpr const char* ERROR_MSG_NOT_SUPPORT_CROSS_APP_START = - "Redirection to a third-party application is not allowed in API version 11 or later."; + "Redirection to a third-party application is not allowed in API version greater than 11."; constexpr const char* ERROR_MSG_CANNOT_MATCH_ANY_COMPONENT = "No matching ability is found."; constexpr const char* ERROR_MSG_TARGET_BUNDLE_NOT_EXIST = "The bundle does not exist or no patch has been applied."; constexpr const char* ERROR_MSG_NO_MAIN_ABILITY = "The target bundle has no main ability."; diff --git a/frameworks/simulator/ability_simulator/src/ability_runtime_error_util.cpp b/frameworks/simulator/ability_simulator/src/ability_runtime_error_util.cpp index dd014077501df68087b7fb2f743a2fa63fb75c36..7f397c64d78b892fb113c76a4c2b8a7654d1dad4 100644 --- a/frameworks/simulator/ability_simulator/src/ability_runtime_error_util.cpp +++ b/frameworks/simulator/ability_simulator/src/ability_runtime_error_util.cpp @@ -132,7 +132,7 @@ const std::map ERROR_MSG_MAP = { { ERR_ABILITY_RUNTIME_EXTERNAL_START_ABILITY_WAITTING, "Another ability is being started. Wait until it finishes starting." }, { ERR_ABILITY_RUNTIME_EXTERNAL_NOT_SUPPORT_CROSS_APP_START, - "Redirection to a third-party application is not allowed in API version 11 or later." }, + "Redirection to a third-party application is not allowed in API version greater than 11." }, { ERR_ABILITY_RUNTIME_EXTERNAL_CANNOT_MATCH_ANY_COMPONENT, "No matching ability is found." }, { ERR_ABILITY_RUNTIME_EXTERNAL_INVALID_URI_FLAG, diff --git a/interfaces/inner_api/error_utils/src/ability_runtime_error_util.cpp b/interfaces/inner_api/error_utils/src/ability_runtime_error_util.cpp index 6a0c4a8622482a1958b5aae2fc5a9999f504b12f..2b7abb3d252ad52987a2dbb86a563b90ee7e2092 100644 --- a/interfaces/inner_api/error_utils/src/ability_runtime_error_util.cpp +++ b/interfaces/inner_api/error_utils/src/ability_runtime_error_util.cpp @@ -131,7 +131,7 @@ const std::map ERROR_MSG_MAP = { { ERR_ABILITY_RUNTIME_EXTERNAL_START_ABILITY_WAITTING, "Another ability is being started. Wait until it finishes starting." }, { ERR_ABILITY_RUNTIME_EXTERNAL_NOT_SUPPORT_CROSS_APP_START, - "Redirection to a third-party application is not allowed in API version 11 or later." }, + "Redirection to a third-party application is not allowed in API version greater than 11." }, { ERR_ABILITY_RUNTIME_EXTERNAL_CANNOT_MATCH_ANY_COMPONENT, "No matching ability is found." }, { ERR_ABILITY_RUNTIME_EXTERNAL_INVALID_URI_FLAG,