From 3a517f57601d23dbbf2bc9685d06b2eb6c8eca37 Mon Sep 17 00:00:00 2001 From: Marcel Hibbe Date: Wed, 21 Sep 2022 14:58:18 +0200 Subject: add missed call notification, show delivery delay in debug mode - add missed call notifications in NotificationWorker and CallNotificationActivity - introduce refactoring of Notification handling (isolate firebase stuff from other logic). All "UI-notification" logic from ChatAndCallMessagingService was moved to NotificationWorker. ChatAndCallMessagingService was renamed to NCFirebaseMessagingService because it is now only responsible for firebase stuff. This separation should make it easier for alternative push services to dock with the app (if they are incorporated in the future). - for DEBUG mode: show delivery delay time in notifications (time between sending from firebase to receive on device). Signed-off-by: Marcel Hibbe --- app/src/main/res/drawable/ic_baseline_phone_missed_24.xml | 5 +++++ app/src/main/res/values/strings.xml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/drawable/ic_baseline_phone_missed_24.xml (limited to 'app/src/main/res') diff --git a/app/src/main/res/drawable/ic_baseline_phone_missed_24.xml b/app/src/main/res/drawable/ic_baseline_phone_missed_24.xml new file mode 100644 index 000000000..7928dce1a --- /dev/null +++ b/app/src/main/res/drawable/ic_baseline_phone_missed_24.xml @@ -0,0 +1,5 @@ + + + diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index ef4df1cff..8f674a172 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -210,6 +210,7 @@ %1$s in call %1$s with phone %1$s with video + You missed a call from %s Mute microphone @@ -246,7 +247,6 @@ %1$s invitation \nPassword: %1$s - Push-to-talk With microphone disabled, click&hold to use Push-to-talk Select authentication certificate -- cgit v1.2.3