From 518cd7b418911b9940451e974f5320e4ebcb0905 Mon Sep 17 00:00:00 2001 From: liwang <965027894@qq.com> Date: Sat, 30 Aug 2025 16:04:41 +0800 Subject: [PATCH] =?UTF-8?q?sts=5Fconvert=5Fother.cpp=E6=96=87=E4=BB=B6GetP?= =?UTF-8?q?ixelMapByKeys=E6=97=A5=E5=BF=97=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liwang <965027894@qq.com> --- frameworks/ets/ani/src/sts_convert_other.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/frameworks/ets/ani/src/sts_convert_other.cpp b/frameworks/ets/ani/src/sts_convert_other.cpp index 7631b34bd..9ea03b780 100644 --- a/frameworks/ets/ani/src/sts_convert_other.cpp +++ b/frameworks/ets/ani/src/sts_convert_other.cpp @@ -218,27 +218,27 @@ ani_status GetPixelMapByKeys(ani_env *env, ani_object obj, std::vectorObject_CallMethodByName_Ref(obj, "$_get", nullptr, &picturesArrayRef, anikey))) { - ANS_LOGE("GetPixelMapByKeys : Object_CallMethodByName_Ref failed"); + ANS_LOGE("Object_CallMethodByName_Ref fail. status : %{public}d", status); deleteVectorWithArraySpPoints(pictureMap); return status; } std::vector> pixelMaps = {}; if ((status = GetPixelMapArrayByRef(env, picturesArrayRef, pixelMaps)) != ANI_OK) { - ANS_LOGE("GetPixelMapByKeys : GetPixelMapArrayByRef failed"); + ANS_LOGE("GetPixelMapArrayByRef fail. status : %{public}d", status); deleteVectorWithSpPoints(pixelMaps); deleteVectorWithArraySpPoints(pictureMap); return status; } std::string str = ""; if ((status = GetStringByAniString(env, anikey, str)) != ANI_OK) { - ANS_LOGE("GetPixelMapByKeys : GetStringByAniString failed"); + ANS_LOGE("GetStringByAniString fail. status : %{public}d", status); deleteVectorWithSpPoints(pixelMaps); deleteVectorWithArraySpPoints(pictureMap); return status; -- Gitee