From 347bda1c6565e2f10af31f7c9f56bb018ecf46cf Mon Sep 17 00:00:00 2001 From: Bartosz Szostak Date: Mon, 16 Jan 2023 14:14:17 +0100 Subject: [PATCH] [MOS-829] Fix the Pure's alarm plays indefinitely According to the requirements the alarm after. 30 minutes of playing will be stopped instead of snoozed. --- module-apps/apps-common/popups/presenter/AlarmPresenter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module-apps/apps-common/popups/presenter/AlarmPresenter.cpp b/module-apps/apps-common/popups/presenter/AlarmPresenter.cpp index 111e1b0e16ac1bf195918f3312075b5ebd9c23f3..f9203941c1d258114406796d80263a7a77ba4cbe 100644 --- a/module-apps/apps-common/popups/presenter/AlarmPresenter.cpp +++ b/module-apps/apps-common/popups/presenter/AlarmPresenter.cpp @@ -196,7 +196,7 @@ namespace app::popup AlarmPopupPresenter::AlarmPopupPresenter(ApplicationCommon *app) : AlarmPopupContract::Presenter(app) { timerHandle = sys::TimerFactory::createSingleShotTimer( - app, "AlarmTimer", ACTIVE_ALARM_TIMEOUT, [this](sys::Timer &) { snoozeHit(); }); + app, "AlarmTimer", ACTIVE_ALARM_TIMEOUT, [this](sys::Timer &) { stopAlarm(); }); timerHandle.start(); } } // namespace app::popup