Skip to content

Commit 6bfc513

Browse files
committed
fix(auto-upload): calls
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
1 parent ebb2663 commit 6bfc513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/nextcloud/client/jobs/BackgroundJobManagerImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ internal class BackgroundJobManagerImpl(
276276
.addContentUriTrigger(MediaStore.Video.Media.INTERNAL_CONTENT_URI, true)
277277
.addContentUriTrigger(MediaStore.Video.Media.EXTERNAL_CONTENT_URI, true)
278278
.setTriggerContentUpdateDelay(Duration.ofSeconds(5))
279-
.setTriggerContentUpdateDelay(Duration.ofSeconds(10))
279+
.setTriggerContentMaxDelay(Duration.ofSeconds(10))
280280
.build()
281281

282282
val request = oneTimeRequestBuilder(ContentObserverWork::class, JOB_CONTENT_OBSERVER)

0 commit comments

Comments
 (0)