From b47b6729bcc52f369fa761ae7cc5798fbbaf375a Mon Sep 17 00:00:00 2001 From: y00620503 Date: Mon, 25 Aug 2025 21:23:21 +0800 Subject: [PATCH] fix: replace loadlibrary api Signed-off-by: y00620503 Change-Id: I567dd42ba64d891c2f737686f91e2b92981b304c --- frameworks/ets/taihe/thermal/idl/ohos.thermal.taihe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/ets/taihe/thermal/idl/ohos.thermal.taihe b/frameworks/ets/taihe/thermal/idl/ohos.thermal.taihe index 5c794a5..5dca4cb 100644 --- a/frameworks/ets/taihe/thermal/idl/ohos.thermal.taihe +++ b/frameworks/ets/taihe/thermal/idl/ohos.thermal.taihe @@ -16,7 +16,7 @@ @!namespace("@ohos.thermal", "thermal") @!sts_inject(""" -static { loadLibrary("thermal_manager_taihe_native.z") }""") +static { loadLibraryWithPermissionCheck("thermal_manager_taihe_native.z", "@ohos.thermal") }""") union MyUndefined { @undefined Undefined; } -- Gitee