From 81a5e9cf868eb9dd70d36b1501a78fa76681a330 Mon Sep 17 00:00:00 2001 From: SoftSquirrel Date: Tue, 18 Oct 2022 18:50:36 +0800 Subject: [PATCH 1/2] Issue:#I5WEL4 Description: modify syscap Sig: SIG_ApplicaitonFramework Feature or Bugfix: Feature Binary Source: No Signed-off-by: SoftSquirrel --- api/@ohos.bundle.defaultAppManager.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/@ohos.bundle.defaultAppManager.d.ts b/api/@ohos.bundle.defaultAppManager.d.ts index c0daf933bf..65a065a00c 100644 --- a/api/@ohos.bundle.defaultAppManager.d.ts +++ b/api/@ohos.bundle.defaultAppManager.d.ts @@ -153,7 +153,7 @@ declare namespace defaultAppManager { * @throws { BusinessError } 17700004 - The specified user id is not found. * @throws { BusinessError } 17700025 - The specified type is invalid. * @throws { BusinessError } 17700028 - The specified ability and type does not match. - * @syscap SystemCapability.BundleManager.BundleFramework.DefaultAppManager.defaultAppManager + * @syscap SystemCapability.BundleManager.BundleFramework.DefaultAppManager * @systemapi * @since 9 */ @@ -173,7 +173,7 @@ declare namespace defaultAppManager { * @throws { BusinessError } 17700004 - The specified user id is not found. * @throws { BusinessError } 17700025 - The specified type is invalid. * @throws { BusinessError } 17700028 - The specified ability and type does not match. - * @syscap SystemCapability.BundleManager.BundleFramework.DefaultAppManager.defaultAppManager + * @syscap SystemCapability.BundleManager.BundleFramework.DefaultAppManager * @systemapi * @since 9 */ @@ -190,7 +190,7 @@ declare namespace defaultAppManager { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 17700004 - The specified user id is not found. * @throws { BusinessError } 17700025 - The specified type is invalid. - * @syscap SystemCapability.BundleManager.BundleFramework.DefaultAppManager.defaultAppManager + * @syscap SystemCapability.BundleManager.BundleFramework.DefaultAppManager * @systemapi * @since 9 */ @@ -208,7 +208,7 @@ declare namespace defaultAppManager { * @throws { BusinessError } 801 - Capability not supported. * @throws { BusinessError } 17700004 - The specified user id is not found. * @throws { BusinessError } 17700025 - The specified type is invalid. - * @syscap SystemCapability.BundleManager.BundleFramework.DefaultAppManager.defaultAppManager + * @syscap SystemCapability.BundleManager.BundleFramework.DefaultAppManager * @systemapi * @since 9 */ -- Gitee From 25d1e0907e28223a9b05a15413fe753bb5764945 Mon Sep 17 00:00:00 2001 From: SoftSquirrel Date: Tue, 18 Oct 2022 20:18:44 +0800 Subject: [PATCH 2/2] Issue:#I5WEL4 Description: modify syscap Sig: SIG_ApplicaitonFramework Feature or Bugfix: Feature Binary Source: No Signed-off-by: SoftSquirrel --- api/bundle/bundleInfo.d.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/api/bundle/bundleInfo.d.ts b/api/bundle/bundleInfo.d.ts index e38e1e9922..9f614035ee 100644 --- a/api/bundle/bundleInfo.d.ts +++ b/api/bundle/bundleInfo.d.ts @@ -24,7 +24,7 @@ import { HapModuleInfo } from './hapModuleInfo'; * @syscap SystemCapability.BundleManager.BundleFramework * @permission NA * @deprecated since 9 - * @useinstead ohos.bundle.bundleManager.BundleInfo + * @useinstead ohos.bundle.bundleManager.UsedScene * */ export interface UsedScene { @@ -48,7 +48,8 @@ export interface UsedScene { * @since 7 * @syscap SystemCapability.BundleManager.BundleFramework * @permission NA - * + * @deprecated since 9 + * @useinstead ohos.bundle.bundleManager.ReqPermissionDetail */ export interface ReqPermissionDetail { /** @@ -85,7 +86,8 @@ export interface ReqPermissionDetail { * @since 7 * @syscap SystemCapability.BundleManager.BundleFramework * @permission NA - * + * @deprecated since 9 + * @useinstead ohos.bundle.bundleManager.BundleInfo */ export interface BundleInfo { /** -- Gitee