diff --git a/api/@ohos.bundle.d.ts b/api/@ohos.bundle.d.ts index cbdab0cafc637bf75b38dab031f0b79f6345eaed..52be838b03cbef68dfbe93137dbb1a82450ea50c 100755 --- a/api/@ohos.bundle.d.ts +++ b/api/@ohos.bundle.d.ts @@ -258,7 +258,8 @@ declare namespace bundle { STATUS_INSTALL_FAILURE_DOWNLOAD_FAILED = 0x0C, STATUS_RECOVER_FAILURE_INVALID = 0x0D, STATUS_ABILITY_NOT_FOUND = 0x40, - STATUS_BMS_SERVICE_ERROR = 0x41 + STATUS_BMS_SERVICE_ERROR = 0x41, + STATUS_GRANT_REQUEST_PERMISSIONS_FAILED = 0x43, } /** diff --git a/api/bundle/applicationInfo.d.ts b/api/bundle/applicationInfo.d.ts index d57fbd7bc891e561202c1dbc797aa4d1e09fb394..ad0f33ad84bffd888e0223835aaa9663ab105e85 100644 --- a/api/bundle/applicationInfo.d.ts +++ b/api/bundle/applicationInfo.d.ts @@ -148,12 +148,19 @@ export interface ApplicationInfo { * @since 8 * @SysCap SystemCapability.Appexecfwk */ - readonly metaData: Map>; + readonly metaData: Map>; /** * @default Indicates whether or not this application may be removable * @since 8 * @SysCap SystemCapability.Appexecfwk */ - readonly removable: boolean; + readonly removable: boolean; + + /** + * @default Indicates the accessToken id of the application + * @since 8 + * @SysCap SystemCapability.Appexecfwk + */ + readonly accessTokenId: number; } \ No newline at end of file diff --git a/api/bundle/bundleInfo.d.ts b/api/bundle/bundleInfo.d.ts index 6353eaef993782219ad6861054cf73d4e256c9e2..5c4daf73ba539a937966061b2fea38c17497dc16 100644 --- a/api/bundle/bundleInfo.d.ts +++ b/api/bundle/bundleInfo.d.ts @@ -234,4 +234,11 @@ export interface BundleInfo { * @SysCap SystemCapability.Appexecfwk */ readonly entryInstallationFree: boolean; + + /** + * @default Indicates the grant status of required permissions + * @since 8 + * @SysCap SystemCapability.Appexecfwk + */ + readonly reqPermissionStates: Array; }