Skip to content

Commit

Permalink
Merge pull request #545 from jorgeblacio/release_0_21_11
Browse files Browse the repository at this point in the history
Hotfix for release.
  • Loading branch information
danieltigse authored Sep 18, 2019
2 parents 4cddefc + f47fd2f commit f501d9f
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 f501d9f

Please sign in to comment.