Mark background backup notification as ongoing

This commit is contained in:
José Rebelo 2022-06-06 21:36:06 +01:00 committed by Chirayu Desai
parent 19ed570a4e
commit 976e898656

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)