From 3e974ebcd4eda68e9a3fc7e06782ad911dfbdee8 Mon Sep 17 00:00:00 2001 From: y00620503 Date: Tue, 26 Aug 2025 10:37:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=BF=E6=8D=A2loadlibrary=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: y00620503 Change-Id: I7032ba394ce0faafb3a465c00f546dfda737e4c7 --- taihe/syscap/idl/ohos.systemCapability.taihe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taihe/syscap/idl/ohos.systemCapability.taihe b/taihe/syscap/idl/ohos.systemCapability.taihe index c300963..c7b7680 100644 --- a/taihe/syscap/idl/ohos.systemCapability.taihe +++ b/taihe/syscap/idl/ohos.systemCapability.taihe @@ -15,7 +15,7 @@ @!namespace("@ohos.systemCapability", "systemCapability") @!sts_inject(""" -static { loadLibrary("systemCapability_taihe_native.z") } +static { loadLibraryWithPermissionCheck("systemCapability_taihe_native.z", "@ohos.systemCapability") } """) @gen_async("querySystemCapabilities") -- Gitee