From 2e1f7b62131533301d6fd27359759f6fb94dd735 Mon Sep 17 00:00:00 2001 From: wanghang Date: Thu, 10 Mar 2022 11:18:53 +0800 Subject: [PATCH] IssueNo:#I4X6L0:add getAbilityInfo permission Description:add getAbilityInfo permission Sig:SIG_ApplicaitonFramework Feature or Bugfix:Feature Binary Source:No Signed-off-by: wanghang Change-Id: I3bcc354b0579c75079d3fbc59b1986cdda097e1a --- api/@ohos.bundle.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/api/@ohos.bundle.d.ts b/api/@ohos.bundle.d.ts index f6dd8bde73..fc8040c3f8 100644 --- a/api/@ohos.bundle.d.ts +++ b/api/@ohos.bundle.d.ts @@ -394,6 +394,7 @@ declare namespace bundle { * @param bundleName Indicates the application bundle name to be queried. * @param abilityName Indicates the ability name. * @return Returns the AbilityInfo object for the current ability. + * @permission ohos.permission.GET_BUNDLE_INFO_PRIVILEGED, ohos.permission.GET_BUNDLE_INFO */ function getAbilityInfo(bundleName: string, abilityName: string, callback: AsyncCallback): void; function getAbilityInfo(bundleName: string, abilityName: string): Promise; -- Gitee