1e41f4b71Sopenharmony_ci# Window Subsystem Changelog
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ci## cl.window.1 APIs setWindowSystemBarEnable and setSystemBarEnable Are No Longer Effective for 2-in-1 Devices
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ci**Access Level**
6e41f4b71Sopenharmony_ci
7e41f4b71Sopenharmony_ciPublic API
8e41f4b71Sopenharmony_ci
9e41f4b71Sopenharmony_ci**Reason for Change**
10e41f4b71Sopenharmony_ci
11e41f4b71Sopenharmony_ciFor 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.
12e41f4b71Sopenharmony_ci
13e41f4b71Sopenharmony_ci![Alt text](figures/window_layout.png)
14e41f4b71Sopenharmony_ci
15e41f4b71Sopenharmony_ci**Change Impact**
16e41f4b71Sopenharmony_ci
17e41f4b71Sopenharmony_ciThis change is a non-compatible change.
18e41f4b71Sopenharmony_ci
19e41f4b71Sopenharmony_ciThe change takes effect from API version 12. Applications built using the SDK of API version 11 or earlier are not affected.
20e41f4b71Sopenharmony_ci
21e41f4b71Sopenharmony_ciBefore the change, the APIs can be called to display or hide the status bar on a 2-in-1 device in full screen mode.
22e41f4b71Sopenharmony_ciAfter 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.
23e41f4b71Sopenharmony_ci
24e41f4b71Sopenharmony_ci**Start API Level**
25e41f4b71Sopenharmony_ci
26e41f4b71Sopenharmony_ci9
27e41f4b71Sopenharmony_ci
28e41f4b71Sopenharmony_ci**Change Since**
29e41f4b71Sopenharmony_ci
30e41f4b71Sopenharmony_ciOpenHarmony SDK 5.0.0.31
31e41f4b71Sopenharmony_ci
32e41f4b71Sopenharmony_ci**Key API/Component Changes**
33e41f4b71Sopenharmony_ci
34e41f4b71Sopenharmony_ci@ohos.window.d.ts
35e41f4b71Sopenharmony_ci
36e41f4b71Sopenharmony_cisetWindowSystemBarEnable
37e41f4b71Sopenharmony_ci
38e41f4b71Sopenharmony_cisetSystemBarEnable
39