Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e
os
eDrive
Commits
6a323e06
Commit
6a323e06
authored
Jul 12, 2019
by
vince-bourgmayer
Browse files
change flex delay of scheduling scannerJob to remove a warning in logcat
parent
083ab6f8
Pipeline
#16536
passed with stage
in 3 minutes and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/foundation/e/drive/utils/JobUtils.java
View file @
6a323e06
...
...
@@ -35,7 +35,7 @@ public abstract class JobUtils {
ComponentName
jobService
=
new
ComponentName
(
context
,
ScannerJob
.
class
);
JobInfo
job
=
new
JobInfo
.
Builder
(
ScannerJobId
,
jobService
)
.
setPeriodic
(
1860000
,
30000
)
//31 minutes and 30 seconds
.
setPeriodic
(
1860000
,
30000
0
)
//31 minutes and 30 seconds
.
setPersisted
(
true
)
.
setRequiredNetworkType
(
JobInfo
.
NETWORK_TYPE_ANY
)
.
build
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment