diff --git a/frameworks/src/bundle_command_common.cpp b/frameworks/src/bundle_command_common.cpp index 800cfc71d9d6d91b35b2f318bf48fd17dff3a28c..291e0343aa0263eb6ba6bf4b988a374f33139720 100644 --- a/frameworks/src/bundle_command_common.cpp +++ b/frameworks/src/bundle_command_common.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2022-2023 Huawei Device Co., Ltd. + * Copyright (c) 2022-2025 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -719,6 +719,10 @@ std::map BundleCommandCommon::bundleMessageMap_ = { IStatusReceiver::ERR_APPEXECFWK_INSTALL_OS_INTEGRATION_BUNDLE_NOT_ALLOWED_FOR_SHELL, "error: os_integration Bundle is not allowed to install for shell." }, + { + 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