summaryrefslogtreecommitdiff
path: root/src/systemtask/SystemTask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemtask/SystemTask.cpp')
-rw-r--r--src/systemtask/SystemTask.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/systemtask/SystemTask.cpp b/src/systemtask/SystemTask.cpp
index 6d695e2..0d43b2f 100644
--- a/src/systemtask/SystemTask.cpp
+++ b/src/systemtask/SystemTask.cpp
@@ -225,7 +225,11 @@ void SystemTask::Work() {
case Messages::OnNewNotification:
if (isSleeping && !isWakingUp)
GoToRunning();
- motorController.SetDuration(35);
+ if (notificationManager.GetLastNotification().category == Controllers::NotificationManager::Categories::IncomingCall) {
+ motorController.startRunning(50);
+ } else {
+ motorController.RunForDuration(35);
+ }
displayApp->PushMessage(Pinetime::Applications::Display::Messages::NewNotification);
break;
case Messages::BleConnected: