mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Added content message to keep app alive foreground service notification
This commit is contained in:
parent
90bf20e50e
commit
2621eb306e
3 changed files with 3 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue