系统:屏蔽部分打印 1526/2
authorCaisking <3449750381@qq.com>
Tue, 17 Dec 2024 10:11:06 +0000 (18:11 +0800)
committerCaisking <3449750381@qq.com>
Tue, 17 Dec 2024 10:11:06 +0000 (18:11 +0800)
code/sdk/application/wearable/fd230app/nativeui/main/src/dial/DialViewGroup.cpp
code/sdk/application/wearable/fd230app/nativeui/message/src/MessageModel.cpp
code/sdk/application/wearable/service/msg_center/src/msg_center_customer.cpp
code/sdk/application/wearable/service/msg_center/src/notify/sleep_notification.cpp

index b77881e..2c44539 100644 (file)
@@ -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");
             }
         }
     }
index bd3b8a7..8ed581b 100644 (file)
@@ -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);
index 85b45da..56ca0bf 100644 (file)
@@ -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;
 }
 /*显示睡眠提醒*/
index e771309..d212019 100644 (file)
@@ -570,7 +570,7 @@ namespace OHOS
         {
             SleepViewEventListener::GetInstance().PopInterPlayMusic();
             countsleep++;
-            printf("countsleep: %d\n", countsleep);
+            // printf("countsleep: %d\n", countsleep);
         }
     }