From 0085317c57b5ae0e831a8157ef235fc1ebe44ff8 Mon Sep 17 00:00:00 2001 From: guyuanzhang Date: Sat, 26 Mar 2022 14:55:38 +0800 Subject: [PATCH] fixed 950630d from https://gitee.com/guyuanzhang/interface_sdk-js/pulls/1400 IssueNo: #I4ZOZ6 Description: fix permission err Sig: SIG_ApplicationFramework Feature or Bugfix: Feature Binary Source: No Signed-off-by: guyuanzhang Change-Id: I42171dc43977149b2abb43b1077a535644a2025f --- api/@ohos.application.appManager.d.ts | 4 ++-- api/@ohos.application.formHost.d.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/@ohos.application.appManager.d.ts b/api/@ohos.application.appManager.d.ts index 56349e16ed..a116e01990 100644 --- a/api/@ohos.application.appManager.d.ts +++ b/api/@ohos.application.appManager.d.ts @@ -74,7 +74,7 @@ declare namespace appManager { * @param accountId The account id. * @systemapi hide this for inner system use * @return - - * @permission ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS, ohos.permission.CLEAN_BACKGROUND_PROCESSES + * @permission ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS and ohos.permission.CLEAN_BACKGROUND_PROCESSES */ function killProcessWithAccount(bundleName: string, accountId: number): Promise; function killProcessWithAccount(bundleName: string, accountId: number, callback: AsyncCallback): void; @@ -122,7 +122,7 @@ declare namespace appManager { function clearUpApplicationData(bundleName: string): Promise; function clearUpApplicationData(bundleName: string, callback: AsyncCallback); - /** + /** * Is it a ram-constrained device * @since 7 * @syscap SystemCapability.Ability.AbilityRuntime.Core diff --git a/api/@ohos.application.formHost.d.ts b/api/@ohos.application.formHost.d.ts index 36dab69752..9cdb76df62 100644 --- a/api/@ohos.application.formHost.d.ts +++ b/api/@ohos.application.formHost.d.ts @@ -212,7 +212,7 @@ declare namespace formHost { * @syscap SystemCapability.Ability.Form * @param want Indicates want of the form. * @return Returns form state {@link FormStateInfo} - * @permission ohos.permission.GET_BUNDLE_INFO, ohos.permission.GET_BUNDLE_INFO_PRIVILEGED. + * @permission ohos.permission.GET_BUNDLE_INFO and ohos.permission.GET_BUNDLE_INFO_PRIVILEGED. */ function acquireFormState(want: Want, callback: AsyncCallback): void; function acquireFormState(want: Want): Promise; -- Gitee