From e7df3f84f3dedd871f80012c8677cccc71e5c52b Mon Sep 17 00:00:00 2001 From: luozheng <1732036298@qq.com> Date: Fri, 15 May 2026 17:25:00 +0800 Subject: [PATCH] =?utf8?q?=E9=97=B9=E9=92=9F=E5=B1=8F=E8=94=BD=E9=93=83?= =?utf8?q?=E5=A3=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../fd272/service/msg_center/src/msg_center_customer.cpp | 1 - .../fd272/service/msg_center/src/notify/alarm_notification.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/code/sdk/application/wearable/fd272/service/msg_center/src/msg_center_customer.cpp b/code/sdk/application/wearable/fd272/service/msg_center/src/msg_center_customer.cpp index 379cba868..8ef66086a 100644 --- a/code/sdk/application/wearable/fd272/service/msg_center/src/msg_center_customer.cpp +++ b/code/sdk/application/wearable/fd272/service/msg_center/src/msg_center_customer.cpp @@ -362,7 +362,6 @@ // 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(topic), true); } else { diff --git a/code/sdk/application/wearable/fd272/service/msg_center/src/notify/alarm_notification.cpp b/code/sdk/application/wearable/fd272/service/msg_center/src/notify/alarm_notification.cpp index 2141142a5..dc161230a 100644 --- a/code/sdk/application/wearable/fd272/service/msg_center/src/notify/alarm_notification.cpp +++ b/code/sdk/application/wearable/fd272/service/msg_center/src/notify/alarm_notification.cpp @@ -514,7 +514,7 @@ namespace OHOS /* -------------------------------------------------------------------------- */ StartAlarmTimer(AlarmTimerType::NOTIFY_ALARM_RING, NOTIFY_ONE_SECOND); - AlarmViewEventListener::GetInstance()->PopAlarmRing(); //闹钟响铃 + // AlarmViewEventListener::GetInstance()->PopAlarmRing(); //闹钟响铃 g_onKeyActListener = RootView::GetInstance()->GetOnKeyActListener(); RootView::GetInstance()->SetOnKeyActListener(AlarmViewEventListener::GetInstance()); -- 2.17.1