change Notification Event base UUID

This commit is contained in:
petter 2021-01-21 23:36:17 +01:00
parent 2d90571f0d
commit 6d76dbc911
2 changed files with 14 additions and 14 deletions

View file

@ -79,7 +79,7 @@ int AlertNotificationService::OnAlert(uint16_t conn_handle, uint16_t attr_handle
Pinetime::System::SystemTask::Messages event = Pinetime::System::SystemTask::Messages::OnNewNotification;
switch(*category) {
case (uint8_t) 0x05:
case (uint8_t) ANS_TYPE_NOTIFICATION_CALL:
notif.category = Pinetime::Controllers::NotificationManager::Categories::IncomingCall;
event = Pinetime::System::SystemTask::Messages::OnNewCall;
break;