From db6248141c91f8e399b3f7fe202b3465b4da740e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E6=AC=A3=E5=AE=87?= Date: Fri, 22 Nov 2024 22:28:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=BD=E4=BB=A4=E8=A1=8C=E5=AE=89=E8=A3=85?= =?UTF-8?q?=E9=A2=84=E7=BD=AE=E5=BA=94=E7=94=A8=E6=A0=A1=E9=AA=8Cappid=20?= =?UTF-8?q?=EF=BC=88cherry=20picked=20commit=20from=20=20Signed-off-by:=20=E5=BC=A0=E6=AC=A3?= =?UTF-8?q?=E5=AE=87=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frameworks/src/bundle_command_common.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frameworks/src/bundle_command_common.cpp b/frameworks/src/bundle_command_common.cpp index a39a1b5..0aac05c 100644 --- a/frameworks/src/bundle_command_common.cpp +++ b/frameworks/src/bundle_command_common.cpp @@ -699,6 +699,10 @@ std::map BundleCommandCommon::bundleMessageMap_ = { IStatusReceiver::ERR_INSTALL_ENCRYPTED_BUNDLE_NOT_ALLOWED_FOR_SHELL, "error: Encrypted bundle cannot be installed by shell without root." }, + { + IStatusReceiver::ERR_INSTALL_APPID_NOT_SAME_WITH_PREINSTALLED, + "error: Bundle cannot be installed because the appId is not same with preinstalled bundle." + }, }; } // AppExecFwk } // OHOS \ No newline at end of file -- Gitee