diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index 868d38934dcaecbf529b13934f6d49f7003b2166..62d9ac3eb79d51fadb8fedd22cc38b97fdcea244 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;