Mark background backup notification as ongoing

This commit is contained in:
José Rebelo 2022-06-06 21:36:06 +01:00
parent 034ca5aa89
commit 1c7e37d912

View file

@ -136,6 +136,7 @@ internal class BackupNotificationManager(private val context: Context) {
val notification = Builder(context, CHANNEL_ID_OBSERVER).apply {
setSmallIcon(R.drawable.ic_cloud_upload)
setContentTitle(context.getString(R.string.notification_title))
setOngoing(true)
setShowWhen(false)
setWhen(System.currentTimeMillis())
setProgress(0, 0, true)