Skip to content

Commit

Permalink
Hotfix for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeblacio committed Sep 18, 2019
1 parent 4cddefc commit f47fd2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ android {
defaultConfig {
minSdkVersion 21
targetSdkVersion 28
versionCode 86
versionName "0.21.9"
versionCode 88
versionName "0.21.11"
applicationId "com.criptext.mail"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,9 @@ class CloudBackupJobService: Job() {
val builder = JobRequest.Builder(JOB_TAG)
builder.setRequiredNetworkType(JobRequest.NetworkType.ANY)
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
builder.setPeriodic(900000, JobInfo.getMinFlexMillis())
builder.setPeriodic(intervalMillis, JobInfo.getMinFlexMillis())
}else {
builder.setPeriodic(900000)
builder.setPeriodic(intervalMillis)
}
val id = builder.build()
.schedule()
Expand Down

0 comments on commit f47fd2f

Please sign in to comment.