mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-04-30 11:43:01 -04:00
Auto update apps daily
This commit is contained in:
@@ -94,9 +94,9 @@ class AppUpdateWorker(
|
||||
.setRequiredNetworkType(networkType)
|
||||
.build()
|
||||
val workRequest = PeriodicWorkRequestBuilder<AppUpdateWorker>(
|
||||
repeatInterval = prefs.updateInterval,
|
||||
repeatInterval = TimeUnit.HOURS.toMillis(24),
|
||||
repeatIntervalTimeUnit = TimeUnit.MILLISECONDS,
|
||||
flexTimeInterval = 15,
|
||||
flexTimeInterval = 60,
|
||||
flexTimeIntervalUnit = TimeUnit.MINUTES,
|
||||
)
|
||||
.setConstraints(constraints)
|
||||
|
||||
Reference in New Issue
Block a user