From 789a3f1644f75a5c5bae309e4eed3b4fc36e5228 Mon Sep 17 00:00:00 2001 From: shenpeixing Date: Thu, 4 Sep 2025 16:40:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=A3=E7=A0=81=E5=B7=AE?= =?UTF-8?q?=E5=BC=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: shenpeixing --- frameworks/js/ani/vibrator/src/vibrator_ani.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/frameworks/js/ani/vibrator/src/vibrator_ani.cpp b/frameworks/js/ani/vibrator/src/vibrator_ani.cpp index 3686e63..7803cd2 100644 --- a/frameworks/js/ani/vibrator/src/vibrator_ani.cpp +++ b/frameworks/js/ani/vibrator/src/vibrator_ani.cpp @@ -209,8 +209,6 @@ static bool SetVibratePropertyInt64(ani_env* env, ani_object effect, const char* } propertyValue = static_cast(result); - MISC_HILOGD("\"%{public}s\": %{public}lld", propertyName, propertyValue); - return true; } @@ -239,7 +237,6 @@ static bool ParserParamFromVibrateFromFile(ani_env *env, ani_object effect, Vibr MISC_HILOGD("vibrateInfo.type: %{public}s, vibrateInfo.fd: %{public}d", typeStr.c_str(), vibrateInfo.fd); SetVibratePropertyInt64(env, static_cast(hapticFd), "offset", vibrateInfo.offset); - MISC_HILOGD("vibrateInfo.offset: %{public}lld", vibrateInfo.offset); int64_t fdSize = GetFileSize(vibrateInfo.fd); if ((vibrateInfo.offset < 0) || (vibrateInfo.offset > fdSize)) { MISC_HILOGE("The parameter of offset is invalid"); @@ -247,7 +244,6 @@ static bool ParserParamFromVibrateFromFile(ani_env *env, ani_object effect, Vibr } vibrateInfo.length = fdSize - vibrateInfo.offset; SetVibratePropertyInt64(env, static_cast(hapticFd), "length", vibrateInfo.length); - MISC_HILOGD("vibrateInfo.length: %{public}lld", vibrateInfo.length); return true; } -- Gitee