!980 修改内源检视意见

Merge pull request !980 from lichenchen/master
This commit is contained in:
openharmony_ci 2022-03-09 02:04:09 +00:00 committed by Gitee
commit 4bfea7fce0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -64,11 +64,11 @@ declare namespace osAccount {
isMultiOsAccountEnable(): Promise<boolean>;
/**
* Checks whether an OS account is actived based on its local ID.
* Checks whether an OS account is activated based on its local ID.
*
* @since 7
* @param localId Indicates the local ID of the OS account.
* @return Returns {@code true} if the OS account is actived; returns {@code false} otherwise.
* @return Returns {@code true} if the OS account is activated; returns {@code false} otherwise.
* @permission ohos.permission.MANAGE_LOCAL_ACCOUNTS/ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS
*/
isOsAccountActived(localId: number, callback: AsyncCallback<boolean>): void;
@ -466,7 +466,7 @@ declare namespace osAccount {
serialNumber: number;
/**
* Os account is actived or not.
* Os account is activated or not.
* @since 8
*/
isActived: boolean;