Commit Graph

6 Commits

Author SHA1 Message Date
Michał Kamoń
8078dd240b [EGD-6855] Add no modem notification on tethering
This commit provides the implementation of functionality that blocks
sms/calls notifications on home screen when tethering is active.
Previously, the notifications could be visible if the notifications
were visible prior to tethering activation.

By the design, the functionality should not clear the notifications,
just temporary hide them. That is achieved by implementation ot the
functionality in NotificationModel which is an UI presenter.
2021-06-01 14:25:32 +02:00
Michał Kamoń
f2ce6e946b [EGD-6707] Add single number message notification
This PR provides implementation of home screen notification for
`notSeen` messages received from a single number. The "single-number:
`notSeen` message notification distinct from "multiple-number"
notification with the following features:
 - displaying formatted contact name
 - `onActivated` it switches to respective thread window (instead of
 all thread window) in `ApplicationMessages`

 The PR also introduced some `ActiveNotificationsModel` code refactor
 to align the implementation with `Single Responsibility Principle`
2021-05-18 17:19:30 +02:00
Michał Kamoń
46c57aaa88 [EGD-6599] Add single number call notification
This PR adds proper notification on call notifications coming from
single number. To that end following changes have been introduced:
 * extension of Notification DB record with contact_id filed
 * use of `ContactRecordInterface` in `NotificationsRecordInterface`
 * extension of `Increment` query to require `PhoneNumber::View`
 * multiple minor changes on path from creating/handling
 `NotificationsRecord` to displaying respective notification.
2021-05-06 14:39:53 +02:00
Przemyslaw Brudny
1abd6b18e2 [EGD-6641] Added Notifications to LockedPhone popup
Added NotificationsModel to LockedPhone popup window.
2021-04-29 18:21:50 +02:00
Michał Kamoń
bedb95eda2 [EGD-6337] Add desktop tethering notification
This PR adds home screen tethering notification. The notifications
allows user to disconnect tethering from desktop by focusing on
the notification and pressing `KEY_ENTER`

This PR adds also home screen notifications icons in `.png` format.
Icons shall be converted to `.vpi` and used in other tasks regarding
home screen notifications.
2021-04-23 12:45:32 +02:00
Michał Kamoń
d0f5f74366 [EGD-6456] ListView based desktop notification
This PR provides following changes in notifications:
- notifications were extracted as widget for pop-up-based
locked-screen implementation
- notifications are ListView based implemented
- the most recent notification is displayed on the top of the list
2021-04-22 15:51:59 +02:00