Added content message to keep app alive foreground service notification

This commit is contained in:
Sylvain Berfini 2025-03-26 16:21:55 +01:00
parent be6d253639
commit 52e9ebf2b5
3 changed files with 3 additions and 0 deletions

View file

@ -1558,6 +1558,7 @@ class NotificationsManager
val builder = NotificationCompat.Builder(context, channelId)
.setSmallIcon(R.drawable.linphone_notification)
.setContentText(AppUtils.getString(R.string.notification_keep_app_alive_message))
.setAutoCancel(false)
.setOngoing(true)
.setCategory(NotificationCompat.CATEGORY_SERVICE)

View file

@ -68,6 +68,7 @@
<item quantity="one">%s fichier en cours de réception</item>
<item quantity="other">%s fichiers en cours de réception</item>
</plurals>
<string name="notification_keep_app_alive_message">Cliquez pour ouvrir</string>
<!-- First screens user see when app is installed and started -->
<string name="welcome_page_title">Bienvenue</string>

View file

@ -108,6 +108,7 @@
<item quantity="other">%s files being downloaded</item>
</plurals>
<string name="notification_file_transfer_upload_download_message" translatable="false">%s, %s</string>
<string name="notification_keep_app_alive_message">Click to open</string>
<!-- First screens user see when app is installed and started -->
<string name="welcome_page_title">Welcome</string>