From 15b628e51e6cbb034ee1a912f10bba81354650d5 Mon Sep 17 00:00:00 2001 From: liwang <965027894@qq.com> Date: Sat, 30 Aug 2025 16:25:45 +0800 Subject: [PATCH] =?UTF-8?q?sts=5Fconvert=5Fother.cpp=E6=96=87=E4=BB=B6GetP?= =?UTF-8?q?ixelMapByRef=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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frameworks/ets/ani/src/sts_convert_other.cpp b/frameworks/ets/ani/src/sts_convert_other.cpp index 7631b34bd..4d3913474 100644 --- a/frameworks/ets/ani/src/sts_convert_other.cpp +++ b/frameworks/ets/ani/src/sts_convert_other.cpp @@ -255,21 +255,21 @@ ani_status GetPixelMapByRef( { ANS_LOGD("GetPixelMapByRef call"); if (env == nullptr || obj == nullptr || keysStrArrayRef == nullptr) { - ANS_LOGE("GetPixelMapByRef failed, has nullPtr"); + ANS_LOGE("GetPixelMapByRef fail. has nullPtr"); return ANI_ERROR; } ani_status status = ANI_ERROR; ani_int length; if (ANI_OK != (status = env->Object_GetPropertyByName_Int(static_cast(keysStrArrayRef), "length", &length))) { - ANS_LOGE("GetPixelMapByRef : Object_GetPropertyByName_Double status = %{public}d", status); + ANS_LOGE("Object_GetPropertyByName_Int fail. status = %{public}d", status); return status; } ani_string strAni = {}; std::vector keys = {}; for (int32_t i = 0; i < length; i++) { if ((status = GetKeyString(env, static_cast(keysStrArrayRef), i, strAni)) != ANI_OK) { - ANS_LOGE("GetPixelMapByRef : GetKeyString status = %{public}d", status); + ANS_LOGE("GetKeyString fail. status = %{public}d", status); keys.clear(); return status; } -- Gitee