Add a description to the worker notification

It wasn't clear why it was there, and was confusing for the end user.
This commit is contained in:
Inhishonor
2025-12-12 15:02:25 -08:00
parent d949f92ecd
commit 29084688d1
2 changed files with 5 additions and 2 deletions
@@ -91,9 +91,11 @@ class NotificationManagerImpl @Inject constructor(
createNotificationChannel()
}
// Required for running workers on Android 12 and older
override fun getForegroundNotificationForWorkersOnOlderAndroids() =
NotificationCompat.Builder(context, DEFAULT_CHANNEL_ID)
.setContentTitle(context.getString(R.string.notification_foreground_worker_text))
.setContentTitle(context.getString(R.string.notification_foreground_worker_title))
.setContentText(context.getString(R.string.notification_foreground_worker_text))
.setShowWhen(false)
.setWhen(System.currentTimeMillis())
.setSmallIcon(R.drawable.ic_notification)
+2 -1
View File
@@ -504,7 +504,8 @@
</plurals>
<string name="notification_message_failed_title">Message not sent</string>
<string name="notification_message_failed_text">The message to %s failed to send</string>
<string name="notification_foreground_worker_text">Receiving message</string>
<string name="notification_foreground_worker_title">Receiving message</string>
<string name="notification_foreground_worker_text">On Android 12 and older, a notification is required for the background work that enables receiving messages.</string>
<string name="notification_message_failed_action">Resend</string>
<string-array name="night_modes">