diff --git a/api/@ohos.window.d.ts b/api/@ohos.window.d.ts index ddb0f5c6a24e9003d66c51a3f48bb9340b70d397..fc44ff8043c42a0978812a5b41227d4866fbf169 100644 --- a/api/@ohos.window.d.ts +++ b/api/@ohos.window.d.ts @@ -315,7 +315,6 @@ declare namespace window { * Create a sub window with a specific id and type, only support 7. * @param id Indicates window id. * @param type Indicates window type. - * @permission ohos.permission.SYSTEM_FLOAT_WINDOW * @since 7 */ function create(id: string, type: WindowType, callback: AsyncCallback): void; @@ -324,7 +323,6 @@ declare namespace window { * Create a sub window with a specific id and type, only support 7. * @param id Indicates window id. * @param type Indicates window type. - * @permission ohos.permission.SYSTEM_FLOAT_WINDOW * @since 7 */ function create(id: string, type: WindowType): Promise; @@ -334,7 +332,6 @@ declare namespace window { * @param ctx Indicates the context on which the window depends * @param id Indicates window id. * @param type Indicates window type. - * @permission ohos.permission.SYSTEM_FLOAT_WINDOW * @since 8 */ function create(ctx: Context, id: string, type: WindowType): Promise; @@ -344,7 +341,6 @@ declare namespace window { * @param ctx Indicates the context on which the window depends * @param id Indicates window id. * @param type Indicates window type. - * @permission ohos.permission.SYSTEM_FLOAT_WINDOW * @since 8 */ function create(ctx: Context, id: string, type: WindowType, callback: AsyncCallback): void;