闹钟屏蔽铃声 3414/2
authorluozheng <1732036298@qq.com>
Fri, 15 May 2026 09:25:00 +0000 (17:25 +0800)
committerluozheng <1732036298@qq.com>
Fri, 15 May 2026 09:25:00 +0000 (17:25 +0800)
code/sdk/application/wearable/fd272/service/msg_center/src/msg_center_customer.cpp
code/sdk/application/wearable/fd272/service/msg_center/src/notify/alarm_notification.cpp

index 379cba8..8ef6608 100644 (file)
      // The alarm notification is not displayed if the incoming call notification is already being processed
      if (CheckPriority(topic)) {
          // AlarmClockModel::GetInstance()->PopInterPlayMusic();
-         // AlarmViewEventListener::GetInstance()->PopAlarmRing();
          NotificationManager::GetInstance()->SetNotifyPriority(PRIORITY_ONE);
          NotificationManager::GetInstance()->ShowNotify(ShowAlarmNotify, static_cast<uint16_t>(topic), true);
      } else {
index 2141142..dc16123 100644 (file)
@@ -514,7 +514,7 @@ namespace OHOS
             /* -------------------------------------------------------------------------- */\r
             StartAlarmTimer(AlarmTimerType::NOTIFY_ALARM_RING, NOTIFY_ONE_SECOND);\r
 \r
-            AlarmViewEventListener::GetInstance()->PopAlarmRing(); //闹钟响铃\r
+            // AlarmViewEventListener::GetInstance()->PopAlarmRing(); //闹钟响铃\r
             g_onKeyActListener = RootView::GetInstance()->GetOnKeyActListener();\r
             RootView::GetInstance()->SetOnKeyActListener(AlarmViewEventListener::GetInstance());\r
 \r