From 82a106707b7699aa343465c87502587d87e25f8c Mon Sep 17 00:00:00 2001 From: wanghang Date: Mon, 23 May 2022 14:14:34 +0800 Subject: [PATCH] IssueNo:#I58RAW:getBundleArchiveInfo add systemApi Description:getBundleArchiveInfo add systemApi Sig:SIG_ApplicaitonFramework Feature or Bugfix:Feature Binary Source:No Signed-off-by: wanghang Change-Id: Iad4f672fbc3ee24e34a949267a0be6c96d01253a --- api/@ohos.bundle.d.ts | 1 + api/bundle/applicationInfo.d.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/api/@ohos.bundle.d.ts b/api/@ohos.bundle.d.ts index 2f5505fb2b..7f6e3859eb 100644 --- a/api/@ohos.bundle.d.ts +++ b/api/@ohos.bundle.d.ts @@ -393,6 +393,7 @@ declare namespace bundle { * @param bundleFlags Indicates the flag used to specify information contained in the BundleInfo object to be * returned. * @return Returns the BundleInfo object. + * @systemapi Hide this for inner system use */ function getBundleArchiveInfo(hapFilePath: string, bundleFlags: number, callback: AsyncCallback) : void function getBundleArchiveInfo(hapFilePath: string, bundleFlags: number) : Promise; diff --git a/api/bundle/applicationInfo.d.ts b/api/bundle/applicationInfo.d.ts index b2007eb007..7a52055491 100644 --- a/api/bundle/applicationInfo.d.ts +++ b/api/bundle/applicationInfo.d.ts @@ -166,7 +166,7 @@ export interface ApplicationInfo { /** * @default Indicates entity type of the application - * @since 8 + * @since 9 * @syscap SystemCapability.BundleManager.BundleFramework */ readonly entityType: string; -- Gitee