From a41582ce825ac95fb84ce9f6e8b63b07c2ae2248 Mon Sep 17 00:00:00 2001 From: heguokai <275503077@qq.com> Date: Thu, 28 Aug 2025 20:06:53 +0800 Subject: [PATCH] =?UTF-8?q?sts=5Fsorting=E6=97=A5=E5=BF=97=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: heguokai <275503077@qq.com> --- frameworks/ets/ani/src/sts_sorting.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frameworks/ets/ani/src/sts_sorting.cpp b/frameworks/ets/ani/src/sts_sorting.cpp index 40b548060..cf6718dd7 100644 --- a/frameworks/ets/ani/src/sts_sorting.cpp +++ b/frameworks/ets/ani/src/sts_sorting.cpp @@ -29,11 +29,11 @@ bool WarpNotificationSorting(ani_env *env, Notification::NotificationSorting &so ani_string hashCodeObj; std::string hashCode; if (env == nullptr) { - ANS_LOGE("invalid parameter value"); + ANS_LOGE("env is null"); return false; } if (!CreateClassObjByClassName(env, "notification.notificationSorting.NotificationSortingInner", cls, obj)) { - ANS_LOGE("Create obj faild. NotificationSortingInner"); + ANS_LOGE("Create NotificationSortingInner ClassObj faild"); return false; } // readonly slot: NotificationSlot @@ -47,7 +47,7 @@ bool WarpNotificationSorting(ani_env *env, Notification::NotificationSorting &so } hashCode = sorting.GetGroupKeyOverride(); if (ANI_OK != GetAniStringByString(env, hashCode, hashCodeObj) || hashCodeObj == nullptr) { - ANS_LOGE("GetAniStringByString faild"); + ANS_LOGE("GetAniStringByString hashCode faild"); return false; } // readonly hashCode: string; -- Gitee