From 1b4afcbf7ab50f453cc3e624a6e86baae79aa22c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E8=8F=B2=E5=A2=A8?= Date: Mon, 1 Sep 2025 17:06:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3startUIAbilities=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E7=A0=81=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 朱菲墨 --- api/application/ServiceExtensionContext.d.ts | 2 +- api/application/UIExtensionContext.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/application/ServiceExtensionContext.d.ts b/api/application/ServiceExtensionContext.d.ts index e6bbf4ca59..f73a7e275a 100644 --- a/api/application/ServiceExtensionContext.d.ts +++ b/api/application/ServiceExtensionContext.d.ts @@ -2546,7 +2546,7 @@ declare class ServiceExtensionContext extends ExtensionContext { * @throws { BusinessError } 202 - Not system application. * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 16000001 - The specified ability does not exist. - * @throws { BusinessError } 16000004 - Failed to start the invisible ability. + * @throws { BusinessError } 16000004 - Cannot start an invisible component. * @throws { BusinessError } 16000005 - The specified process does not have the permission. * @throws { BusinessError } 16000006 - Cross-user operations are not allowed. * @throws { BusinessError } 16000008 - The crowdtesting application expires. diff --git a/api/application/UIExtensionContext.d.ts b/api/application/UIExtensionContext.d.ts index 46bd0450b6..abf62f9162 100755 --- a/api/application/UIExtensionContext.d.ts +++ b/api/application/UIExtensionContext.d.ts @@ -1129,7 +1129,7 @@ declare class UIExtensionContext extends ExtensionContext { * @throws { BusinessError } 202 - Not system application. * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 16000001 - The specified ability does not exist. - * @throws { BusinessError } 16000004 - Failed to start the invisible ability. + * @throws { BusinessError } 16000004 - Cannot start an invisible component. * @throws { BusinessError } 16000005 - The specified process does not have the permission. * @throws { BusinessError } 16000006 - Cross-user operations are not allowed. * @throws { BusinessError } 16000008 - The crowdtesting application expires. -- Gitee