Mark background backup notification as ongoing
This commit is contained in:
parent
19ed570a4e
commit
976e898656
1 changed files with 1 additions and 0 deletions
|
@ -136,6 +136,7 @@ internal class BackupNotificationManager(private val context: Context) {
|
||||||
val notification = Builder(context, CHANNEL_ID_OBSERVER).apply {
|
val notification = Builder(context, CHANNEL_ID_OBSERVER).apply {
|
||||||
setSmallIcon(R.drawable.ic_cloud_upload)
|
setSmallIcon(R.drawable.ic_cloud_upload)
|
||||||
setContentTitle(context.getString(R.string.notification_title))
|
setContentTitle(context.getString(R.string.notification_title))
|
||||||
|
setOngoing(true)
|
||||||
setShowWhen(false)
|
setShowWhen(false)
|
||||||
setWhen(System.currentTimeMillis())
|
setWhen(System.currentTimeMillis())
|
||||||
setProgress(0, 0, true)
|
setProgress(0, 0, true)
|
||||||
|
|
Loading…
Reference in a new issue