• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Bundle Manager Subsystem Changelog
2
3## cl.bundlemanager.1 Added Mandatory Property orientationId in AbilityInfo.d.ts
4
5The mandatory property **orientationId** is added to [AbilityInfo.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/bundleManager/AbilityInfo.d.ts).
6
7**Access Level**
8Public API
9
10**Reason for Change**
11To align with the usage habits of end users, applications should be able to configure the default window rotation method based on the device type. Applications reference orientation configurations using resource IDs, and **orientationId** is used to parse the specific configuration.
12
13**Impact of the Change**<br>
14This change requires application adaptation.
15
16Before change: The application can compile successfully when constructing AbilityInfo.
17After change: Applications must now include the parameter **orientationId** when constructing AbilityInfo.
18
19**Start API Level**
20API 9
21
22**Change Since**
23OpenHarmony SDK 5.0.2.57
24
25**Key API/Component Changes**<br>
26Mandatory property **orientationId** added to **AbilityInfo.d.ts**
27
28**Adaptation Guide**<br>
29After upgrading to API 14, if your application constructs the AbilityInfo struct, you must add the mandatory property **orientationId** to the constructed AbilityInfo struct.
30