From 814fbfbc7feea7fad23ff82302d655df9c39f218 Mon Sep 17 00:00:00 2001 From: y00620503 Date: Mon, 25 Aug 2025 22:25:01 +0800 Subject: [PATCH] fix: replace loadlibrary api Signed-off-by: y00620503 Change-Id: I92c9727daf55bdf4a1ae9c6aaef372c44d17376d --- frameworks/ets/taihe/idl/ohos.telephony.call.taihe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/ets/taihe/idl/ohos.telephony.call.taihe b/frameworks/ets/taihe/idl/ohos.telephony.call.taihe index 769ecc65..466b7b98 100644 --- a/frameworks/ets/taihe/idl/ohos.telephony.call.taihe +++ b/frameworks/ets/taihe/idl/ohos.telephony.call.taihe @@ -16,7 +16,7 @@ @!sts_inject_into_module("import Context from 'application.Context';") @!namespace("@ohos.telephony.call", "call") @!sts_inject(""" -static { loadLibrary("telephony_call_taihe_native.z") } +static { loadLibraryWithPermissionCheck("telephony_call_taihe_native.z", "@ohos.telephony.call") } """) @gen_async("makeCall") -- Gitee