diff --git a/api/@ohos.bundleState.d.ts b/api/@ohos.bundleState.d.ts index 01d6f4c8e3322bd595fcf63efc3f3bf43eb3033a..39c59366f7e4f1eee89cfd72f7122c78fde03227 100644 --- a/api/@ohos.bundleState.d.ts +++ b/api/@ohos.bundleState.d.ts @@ -409,9 +409,8 @@ 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; + function queryAppUsagePriorityGroup(bundleName: string): Promise; /** * Declares group type.