• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Bundle Manager Subsystem Changelog
2
3## cl.bundlemanager.1 installSource Field Specification Change
4
5**Access Level**
6
7Public API
8
9**Reason for Change**
10
11The **installSource** field is updated to allow you to determine whether an application is a preset one.
12
13**Impact of the Change**
14
15This change requires application adaptation.
16
17Before the change:
18The value of **installSource** changes with application updates.
19
20Values of **installSource** before change:
21- **pre-installed**: The application is a preset one installed at initial device startup.
22- Bundle name of an application: The preset application is installed from the application mapping to the bundle name.
23- **unknown**: The installation source is unknown.
24
25After the change:
26The value of **installSource** does not change with application updates.
27
28Values of **installSource** after change:
29- **pre-installed**: The application is a preset one installed at initial device startup.
30- **ota**: The application is a preset one added during system upgrade.
31- **recovery**: The preset application is uninstalled and then restored.
32- Bundle name of an application: The preset application is installed from the application mapping to the bundle name.
33- **unknown**: The installation source is unknown.
34
35For example, if a preset application whose **installSource** is **pre-installed** is updated on AppGallery, **installSource** is changed to the AppGallery app package name before change and retained as **pre-installed** after change.
36
37**Start API Level**
38
39API 12
40
41**Change Since**
42
43OpenHarmony 5.1.0.47
44
45**Key API/Component Changes**
46
47**installSource** field in [ApplicationInfo](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis-ability-kit/js-apis-bundleManager-applicationInfo.md)
48
49**Adaptation Guide**
50
51Adapt the preset application to the new specifications. This way, you can determine whether an application is a preset one based on the **installSource** field in [ApplicationInfo](https://gitee.com/openharmony/docs/blob/master/en/application-dev/reference/apis-ability-kit/js-apis-bundleManager-applicationInfo.md).
52