diff --git a/en/application-dev/security/AccessToken/restricted-permissions.md b/en/application-dev/security/AccessToken/restricted-permissions.md index 2fd1a2caa9673b48d66f7d26899c60dbc43feffc..63a48f0516717d92e7fcc0056b6225f4bc3e2ecd 100644 --- a/en/application-dev/security/AccessToken/restricted-permissions.md +++ b/en/application-dev/security/AccessToken/restricted-permissions.md @@ -637,18 +637,16 @@ With this permission, the application can obtain the current screen peeping stat **Changelog**: This permission is available only to system applications in API versions 18 to 19. From API version 20, it's also available to normal applications. -## ohos.permission.READ_LOCAL_DEVICE_NAME +## ohos.permission.MOUNT_HDCDEBUG_PATH -Allows an application to obtain the local device name. +Allow applications to mount HDC debugging paths. -With this permission, the application can obtain the device name on the About screen in Settings. Without this permission, the application can only obtain the default device name. - - + **Permission level**: system_basic **Authorization mode**: system_grant -**Supported devices**: Phone | PC/2in1 | Tablet +**Supported devices**: PC/2in1 **Valid since**: 20 \ No newline at end of file diff --git a/zh-cn/application-dev/security/AccessToken/restricted-permissions.md b/zh-cn/application-dev/security/AccessToken/restricted-permissions.md index 72f8b1fac7f942e68883ec3cf58a23d3dde07880..0fdc21e52b8055156a1b4b82b723c1cd3e2ae2dc 100644 --- a/zh-cn/application-dev/security/AccessToken/restricted-permissions.md +++ b/zh-cn/application-dev/security/AccessToken/restricted-permissions.md @@ -664,18 +664,16 @@ HarmonyAppProvision配置文件示例如下所示,修改"bundle-info" > "ap **变更信息**:在API18-19,该权限面向系统应用开放;从API20开始,面向普通应用开放。 -## ohos.permission.READ_LOCAL_DEVICE_NAME +## ohos.permission.MOUNT_HDCDEBUG_PATH -允许应用获取本机的设备显示名。 +允许应用挂载hdc调试权限。 -获取此权限后,应用可获取设置中“关于本机”页面的设备名称,否则只能获取设备出厂时的默认名称。 - - + -**权限级别**: system_basic +**权限级别**:system_basic -**授权方式**: 系统授权(system_grant) +**授权方式**:系统授权(system_grant) -**支持设备**: Phone | PC/2in1 | Tablet +**支持设备**:PC/2in1 -**起始版本**: 20 \ No newline at end of file +**起始版本**:20