1# Window Subsystem Changelog 2 3## cl.window.1 Verification Condition Added to recover 4 5**Access Level** 6 7Public API 8 9**Reason for Change** 10 11The design solution is defective. The supported window mode is not considered during the delivery of the original requirement. 12 13**Change Impact** 14 15This change is a non-compatible change. 16 17Before: A window that does not support the floating window mode can be restored to a freeform window by calling **recover**. 18 19After: When **recover** is called, the system checks whether the window supports the floating window mode. If the window does not support this mode, the window will not be restored to a freeform window. 20 21**Start API Level** 22 2312 24 25**Change Since** 26 27OpenHarmony SDK 5.0.0.35 28 29**Key API/Component Changes** 30 31@ohos.window.d.ts 32 33System capability: SystemCapability.Window.SessionManager 34 35API: recover 36 37**Adaptation Guide** 38 39Do not call this API for windows that do not support the floating window mode. If this API is called, error code 1300002 is generated. 40 41To support the floating window mode, set the [**supportWindowMode** attribute under **abilities** in the **module.json5** file](../../../application-dev/quick-start/module-configuration-file.md#abilities) to contain **floating** or leave it unspecified, or set [WindowMode](../../../application-dev/reference/apis-arkui/js-apis-window-sys.md#windowmode7) to **window.WindowMode.FLOATING**. 42