From 48678382baed91cea89074bec616a61e5d21189f Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Thu, 28 Oct 2021 14:08:13 +0100 Subject: [PATCH] adding new copy for the foreground listening notification --- .../fdroid/java/im/vector/app/fdroid/service/GuardService.kt | 2 +- .../main/java/im/vector/app/core/services/VectorSyncService.kt | 2 +- vector/src/main/res/values/strings.xml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/vector/src/fdroid/java/im/vector/app/fdroid/service/GuardService.kt b/vector/src/fdroid/java/im/vector/app/fdroid/service/GuardService.kt index 612f78eb0b..324af8272a 100644 --- a/vector/src/fdroid/java/im/vector/app/fdroid/service/GuardService.kt +++ b/vector/src/fdroid/java/im/vector/app/fdroid/service/GuardService.kt @@ -43,7 +43,7 @@ class GuardService : Service() { } override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int { - val notificationSubtitleRes = R.string.notification_listening_for_events + val notificationSubtitleRes = R.string.notification_listening_for_notifications val notification = notificationUtils.buildForegroundServiceNotification(notificationSubtitleRes, false) startForeground(NotificationUtils.NOTIFICATION_ID_FOREGROUND_SERVICE, notification) return START_STICKY diff --git a/vector/src/main/java/im/vector/app/core/services/VectorSyncService.kt b/vector/src/main/java/im/vector/app/core/services/VectorSyncService.kt index 1fd86cac4d..08db8227a6 100644 --- a/vector/src/main/java/im/vector/app/core/services/VectorSyncService.kt +++ b/vector/src/main/java/im/vector/app/core/services/VectorSyncService.kt @@ -83,7 +83,7 @@ class VectorSyncService : SyncService() { val notificationSubtitleRes = if (isInitialSync) { R.string.notification_initial_sync } else { - R.string.notification_listening_for_events + R.string.notification_listening_for_notifications } val notification = notificationUtils.buildForegroundServiceNotification(notificationSubtitleRes, false) startForeground(NotificationUtils.NOTIFICATION_ID_FOREGROUND_SERVICE, notification) diff --git a/vector/src/main/res/values/strings.xml b/vector/src/main/res/values/strings.xml index 0e8197dbae..d345971962 100644 --- a/vector/src/main/res/values/strings.xml +++ b/vector/src/main/res/values/strings.xml @@ -322,6 +322,7 @@ Initializing service Synchronising… Listening for events + Listening for notifications Noisy notifications Silent notifications