mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 23:28:42 +03:00
Make sure all change events are handled
Signed-off-by: Jonas Mayer <jonas.a.mayer@gmx.net>
This commit is contained in:
parent
68e9ecf578
commit
c5c6b14dda
1 changed files with 2 additions and 2 deletions
|
@ -277,7 +277,7 @@ internal class BackgroundJobManagerImpl(
|
|||
.setConstraints(constrains)
|
||||
.build()
|
||||
|
||||
workManager.enqueueUniqueWork(JOB_CONTENT_OBSERVER, ExistingWorkPolicy.REPLACE, request)
|
||||
workManager.enqueueUniqueWork(JOB_CONTENT_OBSERVER, ExistingWorkPolicy.APPEND, request)
|
||||
}
|
||||
|
||||
override fun schedulePeriodicContactsBackup(user: User) {
|
||||
|
@ -441,7 +441,7 @@ internal class BackgroundJobManagerImpl(
|
|||
.setInputData(arguments)
|
||||
.build()
|
||||
|
||||
workManager.enqueueUniqueWork(JOB_IMMEDIATE_FILES_SYNC, ExistingWorkPolicy.KEEP, request)
|
||||
workManager.enqueueUniqueWork(JOB_IMMEDIATE_FILES_SYNC, ExistingWorkPolicy.APPEND, request)
|
||||
}
|
||||
|
||||
override fun scheduleOfflineSync() {
|
||||
|
|
Loading…
Reference in a new issue