• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Window Subsystem Changelog
2## cl.window.1 Verification Condition Added to setRaiseByClickEnabled
3
4**Access Level**
5
6System API
7
8**Reason for Change**
9
10The code implementation for **setRaiseByClickEnabled** is inconsistent with the design document. This API is designed to be used only by application subwindows. If it is called in the main window of an application or a system window, an error code is expected to be returned. Yet, the current code does not include the necessary return scenarios, failing to properly check and prevent calls based on window type and state.
11
12**Change Impact**
13
14This change is a non-compatible change.
15
16Before change: When this API is called in the main window of an application or a system window, no error code is returned but the change does not take effect.
17
18After change: When this API is called in the main window of an application or a system window, an error code is returned and the change does not take effect.
19
20**Start API Level**
21
2210
23
24**Change Since**
25
26OpenHarmony 5.0.2.1
27
28**Key API/Component Changes**
29
30@ohos.window.d.ts
31
32
33setRaiseByClickEnabled
34
35**Adaptation Guide**
36
37Check whether your application code contains the scenario where this API is called by non-subwindows. If yes, capture the error code and rectify the fault.
38