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)