From 0d627bebe66f90e37b79b05004f0a3797941644b Mon Sep 17 00:00:00 2001 From: Caisking <3449750381@qq.com> Date: Tue, 17 Dec 2024 18:11:06 +0800 Subject: [PATCH] =?utf8?q?=E7=B3=BB=E7=BB=9F=EF=BC=9A=E5=B1=8F=E8=94=BD?= =?utf8?q?=E9=83=A8=E5=88=86=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../fd230app/nativeui/main/src/dial/DialViewGroup.cpp | 6 +++--- .../wearable/fd230app/nativeui/message/src/MessageModel.cpp | 2 +- .../wearable/service/msg_center/src/msg_center_customer.cpp | 2 +- .../service/msg_center/src/notify/sleep_notification.cpp | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/code/sdk/application/wearable/fd230app/nativeui/main/src/dial/DialViewGroup.cpp b/code/sdk/application/wearable/fd230app/nativeui/main/src/dial/DialViewGroup.cpp index b77881e19..2c4453981 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/main/src/dial/DialViewGroup.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/main/src/dial/DialViewGroup.cpp @@ -40,19 +40,19 @@ static DialVideoView *g_video = nullptr; if (status == SCREEN_STATUS_OFF) { g_video->PausePlay(); - printf("暂停视频\n"); + // printf("暂停视频\n"); } else if (status == SCREEN_STATUS_ON) { if (g_video->IsPaused()) { g_video->ResumePlay(); - printf("恢复视频\n"); + // printf("恢复视频\n"); } else if (!g_video->IsPlayed()) { g_video->StartPlay(); - printf("开始播放\n"); + // printf("开始播放\n"); } } } diff --git a/code/sdk/application/wearable/fd230app/nativeui/message/src/MessageModel.cpp b/code/sdk/application/wearable/fd230app/nativeui/message/src/MessageModel.cpp index bd3b8a771..8ed581b71 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/message/src/MessageModel.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/message/src/MessageModel.cpp @@ -61,7 +61,7 @@ extern "C" errcode_t uapi_get_TIME_STR(uint32_t time, char *p_time, // #include "msg_center_customerC.h" void show_notify_messgae() { - printf("show_notify_messgae\n"); + // printf("show_notify_messgae\n"); OHOS::NotificationManager::GetInstance()->SetNotifyPriority(PRIORITY_THREE); OHOS::NotificationManager::GetInstance()->ShowNotify( OHOS::CreateMessageView, TOPIC_EVENT_MESSAGENOTE, true); diff --git a/code/sdk/application/wearable/service/msg_center/src/msg_center_customer.cpp b/code/sdk/application/wearable/service/msg_center/src/msg_center_customer.cpp index 85b45dafd..56ca0bf28 100644 --- a/code/sdk/application/wearable/service/msg_center/src/msg_center_customer.cpp +++ b/code/sdk/application/wearable/service/msg_center/src/msg_center_customer.cpp @@ -334,7 +334,7 @@ static OHOS::UIViewGroup* showSOSNotify(void) /*显示消息提醒*/ static OHOS::UIViewGroup *showMessageNotify(void) { OHOS::UIViewGroup *view = OHOS::CreateMessageView(); - printf("showMessageNotify %p",view); + // printf("showMessageNotify %p",view); return view; } /*显示睡眠提醒*/ diff --git a/code/sdk/application/wearable/service/msg_center/src/notify/sleep_notification.cpp b/code/sdk/application/wearable/service/msg_center/src/notify/sleep_notification.cpp index e7713095c..d212019f8 100644 --- a/code/sdk/application/wearable/service/msg_center/src/notify/sleep_notification.cpp +++ b/code/sdk/application/wearable/service/msg_center/src/notify/sleep_notification.cpp @@ -570,7 +570,7 @@ namespace OHOS { SleepViewEventListener::GetInstance().PopInterPlayMusic(); countsleep++; - printf("countsleep: %d\n", countsleep); + // printf("countsleep: %d\n", countsleep); } } -- 2.17.1