File tree Expand file tree Collapse file tree 2 files changed +0
-13
lines changed
app/src/main/java/com/nextcloud/client/jobs Expand file tree Collapse file tree 2 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -101,8 +101,6 @@ internal class BackgroundJobManagerImpl(
101101
102102 const val JOB_TEST = " test_job"
103103
104- const val MAX_CONTENT_TRIGGER_DELAY_MS = 10000L
105-
106104 const val TAG_PREFIX_NAME = " name"
107105 const val TAG_PREFIX_USER = " user"
108106 const val TAG_PREFIX_CLASS = " class"
@@ -275,7 +273,6 @@ internal class BackgroundJobManagerImpl(
275273 .addContentUriTrigger(MediaStore .Images .Media .EXTERNAL_CONTENT_URI , true )
276274 .addContentUriTrigger(MediaStore .Video .Media .INTERNAL_CONTENT_URI , true )
277275 .addContentUriTrigger(MediaStore .Video .Media .EXTERNAL_CONTENT_URI , true )
278- .setTriggerContentMaxDelay(MAX_CONTENT_TRIGGER_DELAY_MS , TimeUnit .MILLISECONDS )
279276 .build()
280277
281278 val request = periodicRequestBuilder(ContentObserverWork ::class , JOB_CONTENT_OBSERVER )
Original file line number Diff line number Diff line change @@ -31,16 +31,6 @@ class AutoUploadHelper {
3131 }
3232
3333 fun insertEntries (folder : SyncedFolder , repository : FileSystemRepository ) {
34- val enabledTimestampMs = folder.enabledTimestampMs
35- if (! folder.isEnabled || (! folder.isExisting && enabledTimestampMs < 0 )) {
36- Log_OC .w(
37- TAG ,
38- " Skipping insertDBEntries: enabled=${folder.isEnabled} , " +
39- " exists=${folder.isExisting} , enabledTs=$enabledTimestampMs "
40- )
41- return
42- }
43-
4434 when (folder.type) {
4535 MediaFolderType .IMAGE -> {
4636 repository.insertFromUri(MediaStore .Images .Media .INTERNAL_CONTENT_URI , folder)
You can’t perform that action at this time.
0 commit comments