From ee9f286153cd7b2e18ab2bfbe661caae0ff206b9 Mon Sep 17 00:00:00 2001 From: chengjinsong2 Date: Mon, 17 Oct 2022 03:56:29 -0700 Subject: [PATCH] =?UTF-8?q?serial=20=E5=92=8C=20udid=E9=9C=80=E8=A6=81?= =?UTF-8?q?=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: chengjinsong2 --- api/@ohos.deviceInfo.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/@ohos.deviceInfo.d.ts b/api/@ohos.deviceInfo.d.ts index 6c1f0bea32..55067063a7 100644 --- a/api/@ohos.deviceInfo.d.ts +++ b/api/@ohos.deviceInfo.d.ts @@ -87,6 +87,7 @@ declare namespace deviceInfo { /** * Obtains the device serial number represented by a string. + * @permission ohos.permission.sec.ACCESS_UDID * @syscap SystemCapability.Startup.SystemInfo * @since 6 */ @@ -234,6 +235,7 @@ declare namespace deviceInfo { const buildRootHash: string; /** * Obtains the device udid. + * @permission ohos.permission.sec.ACCESS_UDID * @syscap SystemCapability.Startup.SystemInfo * @since 7 */ -- Gitee