From 55231c07da663c821310a90efac0642054534bda Mon Sep 17 00:00:00 2001 From: houdisheng Date: Tue, 27 Sep 2022 10:38:01 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=88=A0=E9=99=A4API9=E4=B8=8EAPI7?= =?UTF-8?q?=E5=90=8C=E5=90=8DAPI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: houdisheng --- api/@ohos.bundleState.d.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/api/@ohos.bundleState.d.ts b/api/@ohos.bundleState.d.ts index 01d6f4c8e3..891b7d439b 100644 --- a/api/@ohos.bundleState.d.ts +++ b/api/@ohos.bundleState.d.ts @@ -409,7 +409,6 @@ declare namespace bundleState { * @param bundleName, name of the application. * @return Returns the usage priority group of the calling application. */ - function queryAppUsagePriorityGroup(callback: AsyncCallback): void; function queryAppUsagePriorityGroup(bundleName: string, callback: AsyncCallback): void; function queryAppUsagePriorityGroup(bundleName?: string): Promise; -- Gitee From c7c2dadbc5b5f5884e3b68257b9291a211eee8e2 Mon Sep 17 00:00:00 2001 From: houdisheng Date: Tue, 27 Sep 2022 15:44:15 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=88=A0=E9=99=A4API7/API9=E9=87=8D?= =?UTF-8?q?=E5=A4=8DAPI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: houdisheng --- api/@ohos.bundleState.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/@ohos.bundleState.d.ts b/api/@ohos.bundleState.d.ts index 891b7d439b..39c59366f7 100644 --- a/api/@ohos.bundleState.d.ts +++ b/api/@ohos.bundleState.d.ts @@ -410,7 +410,7 @@ declare namespace bundleState { * @return Returns the usage priority group of the calling application. */ function queryAppUsagePriorityGroup(bundleName: string, callback: AsyncCallback): void; - function queryAppUsagePriorityGroup(bundleName?: string): Promise; + function queryAppUsagePriorityGroup(bundleName: string): Promise; /** * Declares group type. -- Gitee