1# Ability Framework Changelog
2
3
4## cl.ability.1 RestartFlag Attribute Names Changed and Unsupported Attribute Deleted in appRecovery
5
6In the **appRecovery** API, the enum names of **RestartFlag** are changed from **NO_RESTART** upon a specific fault to **RESTART** upon a specific fault.
7The **CPP_CRASH_NO_RESTART** enum is deleted.
8
9**Change Impact**
10
11If your application uses the **CPP_CRASH_NO_RESTART**, **JS_CRASH_NO_RESTART**, or **APP_FREEZE_NO_RESTART** attribute in versions earlier than 4.0.2.3, its behavior will change after an upgrade to 4.0.2.3.
12
13**Key API/Component Changes**
14
15**RestartFlag** <sup>9+</sup>
16
17Before change
18| Name                         | Value  | Description                                                        |
19| ----------------------------- | ---- | ------------------------------------------------------------ |
20| ALWAYS_RESTART           | 0    | The application is restarted in all cases.|
21| CPP_CRASH_NO_RESTART           | 0x0001    | The application is **not restarted** in the case of CPP_CRASH.|
22| JS_CRASH_NO_RESTART           | 0x0002    | The application is **not restarted** in the case of JS_CRASH.|
23| APP_FREEZE_NO_RESTART           | 0x0004    | The application is **not restarted** in the case of APP_FREEZE.|
24| NO_RESTART           | 0xFFFF    | The application is not restarted in any case.|
25
26After change
27| Name      | Value  | Description      |
28| ---------- | ---- | ---------- |
29| ALWAYS_RESTART   | 0    | The application is restarted in all cases.|
30| CPP_CRASH_NO_RESTART   | NA    | **Deleted.** The restart in this scenario is not supported.|
31| RESTART_WHEN_JS_CRASH   | 0x0001    | The application is **restarted** in the case of JS_CRASH.|
32| RESTART_WHEN_APP_FREEZE   | 0x0002    | The application is **restarted** in the case of APP_FREEZE.|
33| NO_RESTART           | 0xFFFF    | The application is not restarted in any case.|
34
35**Adaptation Guide**
36
37Perform adaptation based on the new semantics.
38