From f4d56974cbbc6ad0ced54f8eca00a0568d79114a Mon Sep 17 00:00:00 2001 From: y00620503 Date: Tue, 26 Aug 2025 10:40:30 +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: I7855a2c3953c5209679ba1216cbfae93d24b6a42 --- frameworks/js/taihe/idl/ohos.driver.deviceManager.taihe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/js/taihe/idl/ohos.driver.deviceManager.taihe b/frameworks/js/taihe/idl/ohos.driver.deviceManager.taihe index e920f4c..ba81458 100644 --- a/frameworks/js/taihe/idl/ohos.driver.deviceManager.taihe +++ b/frameworks/js/taihe/idl/ohos.driver.deviceManager.taihe @@ -19,7 +19,7 @@ @!namespace("@ohos.driver.deviceManager", "deviceManager") @!sts_inject(""" -static { loadLibrary("device_manager_taihe_native.z") } +static { loadLibraryWithPermissionCheck("device_manager_taihe_native.z", "@ohos.driver.deviceManager") } """) function queryDevices(busType: Optional): Array; -- Gitee