From 706117e7756f4b1345939aa470f25377c12c5f0d Mon Sep 17 00:00:00 2001 From: zhangzezhong Date: Wed, 10 Sep 2025 15:36:35 +0800 Subject: [PATCH] fix RemoteProxy signatrue Signed-off-by: zhangzezhong --- frameworks/ets/ani/ani_common/src/ani_common_remote.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/ets/ani/ani_common/src/ani_common_remote.cpp b/frameworks/ets/ani/ani_common/src/ani_common_remote.cpp index e78b9a839a1..f74600380b2 100644 --- a/frameworks/ets/ani/ani_common/src/ani_common_remote.cpp +++ b/frameworks/ets/ani/ani_common/src/ani_common_remote.cpp @@ -28,7 +28,7 @@ ani_object AniRemote::CreateAniRemoteObject(ani_env *env, const sptrClass_FindMethod(cls, "", ":V", &method)) != ANI_OK) { + if ((status = env->Class_FindMethod(cls, "", "l:", &method)) != ANI_OK) { TAG_LOGE(AAFwkTag::ABILITY, "RemoteProxy ctor: %{public}d", status); return nullptr; } -- Gitee