1# Window Subsystem Changelog
2
3## cl.window.1 APIs setWindowSystemBarEnable and setSystemBarEnable Are No Longer Effective for 2-in-1 Devices
4
5**Access Level**
6
7Public API
8
9**Reason for Change**
10
11For a 2-in-1 device, the display of the status bar in full-screen mode is restricted by the system layout. You do not need to call APIs to display or hide the status bar. In other words, the APIs **setWindowSystemBarEnable** and **setSystemBarEnable** do not take effect on the 2-in-1 device.
12
13![Alt text](figures/window_layout.png)
14
15**Change Impact**
16
17This change is a non-compatible change.
18
19The change takes effect from API version 12. Applications built using the SDK of API version 11 or earlier are not affected.
20
21Before the change, the APIs can be called to display or hide the status bar on a 2-in-1 device in full screen mode.
22After the change, the window layout on the 2-in-1 device automatically adapts to the avoidance logic, and no API needs to be called for control.
23
24**Start API Level**
25
269
27
28**Change Since**
29
30OpenHarmony SDK 5.0.0.31
31
32**Key API/Component Changes**
33
34@ohos.window.d.ts
35
36setWindowSystemBarEnable
37
38setSystemBarEnable
39