From 4cd97bdbed72a906f9faf33e4acb6072fc3c356b Mon Sep 17 00:00:00 2001 From: y00620503 Date: Tue, 26 Aug 2025 11:45:56 +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: Icb417ce73592aebcdbe88ca89455d15b3ecfb355 --- frameworks/ets/ani/connection/ets/@ohos.net.connection.ets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/ets/ani/connection/ets/@ohos.net.connection.ets b/frameworks/ets/ani/connection/ets/@ohos.net.connection.ets index 3e5ef192b..6598795ee 100644 --- a/frameworks/ets/ani/connection/ets/@ohos.net.connection.ets +++ b/frameworks/ets/ani/connection/ets/@ohos.net.connection.ets @@ -17,7 +17,7 @@ import type { AsyncCallback } from '@ohos.base'; import { BusinessError } from '@ohos.base' export default namespace connection { - loadLibrary("connection_ani") + loadLibraryWithPermissionCheck("connection_ani", "@ohos.net.connection") export interface NetHandle { netId: number; -- Gitee