From eb5d9015a2fac41bd70a945ca293f4da1e6270a2 Mon Sep 17 00:00:00 2001 From: Jay Date: Thu, 21 Nov 2019 22:51:01 -0800 Subject: [PATCH] Updating version to 0.9.0 --- app/build.gradle | 4 ++-- .../eu/kanade/tachiyomi/data/backup/BackupRestoreService.kt | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 0ac69bb79d..790859affd 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -38,8 +38,8 @@ android { minSdkVersion 21 targetSdkVersion 29 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" - versionCode 41 - versionName "0.8.4" + versionCode 42 + versionName "0.9.0" buildConfigField "String", "COMMIT_COUNT", "\"${getCommitCount()}\"" buildConfigField "String", "COMMIT_SHA", "\"${getGitSha()}\"" diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/backup/BackupRestoreService.kt b/app/src/main/java/eu/kanade/tachiyomi/data/backup/BackupRestoreService.kt index 87701c20d9..365dd8804f 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/backup/BackupRestoreService.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/backup/BackupRestoreService.kt @@ -160,9 +160,9 @@ class BackupRestoreService : Service() { * @return the start value of the command. */ override fun onStartCommand(intent: Intent?, flags: Int, startId: Int): Int { - if (intent == null) return Service.START_NOT_STICKY + if (intent == null) return START_NOT_STICKY - val uri = intent.getParcelableExtra(BackupConst.EXTRA_URI) + val uri = intent.getParcelableExtra(BackupConst.EXTRA_URI) ?: return START_NOT_STICKY // Unsubscribe from any previous subscription if needed. subscription?.unsubscribe() @@ -175,7 +175,7 @@ class BackupRestoreService : Service() { .subscribeOn(Schedulers.from(executor)) .subscribe() - return Service.START_NOT_STICKY + return START_NOT_STICKY } /**