From 491d95be9e556975529cec851a2650466bbc2a3d Mon Sep 17 00:00:00 2001 From: chyyy0213 Date: Mon, 21 Feb 2022 10:47:40 +0800 Subject: [PATCH] add permission for create Signed-off-by: chyyy0213 Change-Id: Ifaa413939e83468e8ab3c7617deef84feea9338c --- api/@ohos.window.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index 868d38934d..62d9ac3eb7 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -86,6 +86,7 @@ declare namespace window { * @param id Indicates window id. * @param type Indicates window type. * @systemapi Hide this for inner system use. + * @permission ohos.permission.SYSTEM_FLOAT_WINDOW * @since 8 */ function create(ctx: Context, id: string, type: WindowType): Promise; -- Gitee