From 311c4f86dfe9611b9fb59eac55cccc7035fed0ba Mon Sep 17 00:00:00 2001 From: Zhou Shihui Date: Tue, 30 Jul 2024 17:05:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=B8=E8=BD=BD=E5=BA=94=E7=94=A8=E5=89=8D?= =?UTF-8?q?=E7=BD=AE=E7=A1=AE=E8=AE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Zhou Shihui --- api/@ohos.bundle.installer.d.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/@ohos.bundle.installer.d.ts b/api/@ohos.bundle.installer.d.ts index f839cd94ae..e461952c74 100644 --- a/api/@ohos.bundle.installer.d.ts +++ b/api/@ohos.bundle.installer.d.ts @@ -568,6 +568,7 @@ declare namespace installer { * @throws { BusinessError } 17700020 - The specified bundle is a pre-installed bundle and cannot be uninstalled. * @throws { BusinessError } 17700040 - The specified bundle is a shared bundle and cannot be uninstalled. * @throws { BusinessError } 17700045 - Failed to uninstall the HAP because uninstall is not allowed by the enterprise device management. + * @throws { BusinessError } 17700060 - The specified application cannot be uninstalled. * @throws { BusinessError } 17700067 - Failed to uninstall the HAP because uninstalling the native package failed. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi @@ -605,6 +606,7 @@ declare namespace installer { * @throws { BusinessError } 17700020 - The specified bundle is a pre-installed bundle and cannot be uninstalled. * @throws { BusinessError } 17700040 - The specified bundle is a shared bundle and cannot be uninstalled. * @throws { BusinessError } 17700045 - Failed to uninstall the HAP because uninstall is not allowed by the enterprise device management. + * @throws { BusinessError } 17700060 - The specified application cannot be uninstalled. * @throws { BusinessError } 17700067 - Failed to uninstall the HAP because uninstalling the native package failed. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi @@ -646,6 +648,7 @@ declare namespace installer { * @throws { BusinessError } 17700020 - The specified bundle is a pre-installed bundle and cannot be uninstalled. * @throws { BusinessError } 17700040 - The specified bundle is a shared bundle and cannot be uninstalled. * @throws { BusinessError } 17700045 - Failed to uninstall the HAP because uninstall is not allowed by the enterprise device management. + * @throws { BusinessError } 17700060 - The specified application cannot be uninstalled. * @throws { BusinessError } 17700067 - Failed to uninstall the HAP because uninstalling the native package failed. * @syscap SystemCapability.BundleManager.BundleFramework.Core * @systemapi -- Gitee