From 91d2d6cc6e3a08b473eb6cf7029d10c4827394f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E4=B8=87=E9=B9=8F?= Date: Tue, 18 Feb 2025 12:34:54 +0000 Subject: [PATCH] update frameworks/src/bundle_command_common.cpp. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 张万鹏 --- frameworks/src/bundle_command_common.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/frameworks/src/bundle_command_common.cpp b/frameworks/src/bundle_command_common.cpp index 142ac93..231c976 100644 --- a/frameworks/src/bundle_command_common.cpp +++ b/frameworks/src/bundle_command_common.cpp @@ -723,6 +723,10 @@ std::map BundleCommandCommon::bundleMessageMap_ = { IStatusReceiver::ERR_APP_DISTRIBUTION_TYPE_NOT_ALLOW_INSTALL_ISR, "error: Failed to install the HAP or HSP because the app distribution type is not allowed." }, + { + IStatusReceiver::ERR_INSTALL_FAILED_AND_RESTORE_TO_PREINSTALLED, + "error: Bundle install failed and restore to preinstalled bundle." + }, }; } // AppExecFwk -} // OHOS \ No newline at end of file +} // OHOS -- Gitee