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