diff --git a/api/@ohos.bundle.d.ts b/api/@ohos.bundle.d.ts index 1c9c19f320dc9d0ca8d2972097de8a3804e45ee1..b2c6f3610fb8e36c6328a7fd170c5268780d0f1a 100644 --- a/api/@ohos.bundle.d.ts +++ b/api/@ohos.bundle.d.ts @@ -18,7 +18,7 @@ import { ApplicationInfo } from './bundle/applicationInfo'; import { BundleInfo } from './bundle/bundleInfo'; import { AbilityInfo } from './bundle/abilityInfo'; import { ExtensionAbilityInfo } from './bundle/extensionAbilityInfo'; -import Want from './@ohos.application.want'; +import { Want } from './ability/want'; import { BundleInstaller } from './bundle/bundleInstaller'; import { PermissionDef } from './bundle/PermissionDef'; import image from './@ohos.multimedia.image'; @@ -71,6 +71,10 @@ declare namespace bundle { * @since 8 */ GET_APPLICATION_INFO_WITH_DISABLE = 0x00000200, + /** + * @since 9 + */ + GET_APPLICATION_INFO_WITH_CERTIFICATE_FINGERPRINT = 0x00000400, } /** diff --git a/api/bundle/applicationInfo.d.ts b/api/bundle/applicationInfo.d.ts index b092df52e56f0f9946a4aa012dbd014ab177d3cd..7d8dd2136178ad5732e3f856f5ab854f38ffaac5 100644 --- a/api/bundle/applicationInfo.d.ts +++ b/api/bundle/applicationInfo.d.ts @@ -178,4 +178,11 @@ export interface ApplicationInfo { * @syscap SystemCapability.BundleManager.BundleFramework */ readonly entityType: string; + + /** + * @default Indicates fingerprint of the certificate + * @since 9 + * @syscap SystemCapability.BundleManager.BundleFramework + */ + readonly fingerprint: string; }