• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Account Subsystem Changelog
2
3## cl.account.1 Change in the osAccount.distributedAccount.DistributedAccountAbility.getOsAccountDistributedInfo Return Value Generation Rules
4
5**Access Level**
6
7Public API
8
9**Reason for the Change**
10
11The return value generation rules of the API do not comply with the design specification.
12
13**Change Impact**
14
15This change does not require application adaptation.
16
17Before change: The generation rules of **name**, **id**, **nickname**, **avatar**, and **scalableData** do not comply with the design specification.
18
19After change: The generation rules of these attributes are corrected. The queries for the same distributed account data return different results than before.
20
21**Start API Level**
22
23API 9
24
25**Change Since**
26
27OpenHarmony SDK 5.1.0.56
28
29**Key API/Component Changes**
30
31The following APIs in [@ohos.account.distributedAccount.d.ts](https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/reference/apis-basic-services-kit/js-apis-distributed-account.md):
32
33- getOsAccountDistributedInfo(callback: AsyncCallback<DistributedInfo>): <void>
34- getOsAccountDistributedInfo(): Promise<DistributedInfo>
35
36**Adaptation Guide**
37
38No adaptation is required.
39