From 1debbe3d71b3ec521b961c05246328c7eee558d3 Mon Sep 17 00:00:00 2001 From: wu-liushuan Date: Tue, 9 Sep 2025 17:45:37 +0800 Subject: [PATCH] =?UTF-8?q?getPermissionUsedTypeInfos=E5=85=81=E8=AE=B8tok?= =?UTF-8?q?enID=E4=B8=BAnull=2020250909?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wu-liushuan Change-Id: Iaa5d346938d1a09d62beeaf6162048c98edb1348 --- frameworks/ets/ani/privacy/ets/@ohos.privacyManager.ets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/ets/ani/privacy/ets/@ohos.privacyManager.ets b/frameworks/ets/ani/privacy/ets/@ohos.privacyManager.ets index c8df59689..58cdced93 100644 --- a/frameworks/ets/ani/privacy/ets/@ohos.privacyManager.ets +++ b/frameworks/ets/ani/privacy/ets/@ohos.privacyManager.ets @@ -230,7 +230,7 @@ export default namespace privacyManager { } export function getPermissionUsedTypeInfos( - tokenId?: int, permissionName?: Permissions): Promise> { + tokenId?: int | null, permissionName?: Permissions): Promise> { let tokenIdIn = tokenId ?? 0; let permissionNameIn = permissionName ?? ""; return new Promise> (( -- Gitee