From a52e60beff5e5ec32db9778b360fcbf4e60da3c9 Mon Sep 17 00:00:00 2001 From: bigtea Date: Fri, 5 Sep 2025 16:54:46 +0800 Subject: [PATCH] Fix capitalization Signed-off-by: bigtea --- api/@ohos.abilityAccessCtrl.d.ts | 4 ++-- api/security/PermissionRequestResult.d.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/@ohos.abilityAccessCtrl.d.ts b/api/@ohos.abilityAccessCtrl.d.ts index 4867886a9d..d295ee2513 100644 --- a/api/@ohos.abilityAccessCtrl.d.ts +++ b/api/@ohos.abilityAccessCtrl.d.ts @@ -704,7 +704,7 @@ declare namespace abilityAccessCtrl { * granted with the specified permission. Either the application is a sandbox or the tokenID is from * a remote device. * @throws { BusinessError } 12100007 - The service is abnormal. - * @throws { BusinessError } 12100014 - Unexpected permission. The Specified permission is not a + * @throws { BusinessError } 12100014 - Unexpected permission. The specified permission is not a * user_grant or manual_settings permission. * @syscap SystemCapability.Security.AccessToken * @systemapi @@ -733,7 +733,7 @@ declare namespace abilityAccessCtrl { * to be revoked with the specified permission. Either the application is a sandbox or the tokenID * is from a remote device. * @throws { BusinessError } 12100007 - The service is abnormal. - * @throws { BusinessError } 12100014 - Unexpected permission. The Specified permission is not a + * @throws { BusinessError } 12100014 - Unexpected permission. The specified permission is not a * user_grant or manual_settings permission. * @syscap SystemCapability.Security.AccessToken * @systemapi diff --git a/api/security/PermissionRequestResult.d.ts b/api/security/PermissionRequestResult.d.ts index bdf2034947..5adc222b8f 100644 --- a/api/security/PermissionRequestResult.d.ts +++ b/api/security/PermissionRequestResult.d.ts @@ -145,8 +145,8 @@ declare class PermissionRequestResult { * 2 The requested permission has not been declared. * 3 The conditions for requesting the permission are not met. * 4 The user does not agree to the Privacy Statement. - * 5 The permission cannot be requested in a pop-up window. - * 6 The permission is a manual_settings permsssion and cannot be requested via a pop-up window. + * 5 The permission cannot be requested via a pop-up window. + * 6 The permission is a manual_settings permission and cannot be requested via a pop-up window. * 12 The service is abnormal. * * @type { ?Array } -- Gitee