We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e769edd commit a437a44Copy full SHA for a437a44
app/src/main/java/com/duckduckgo/app/job/AppConfigurationJobService.kt
@@ -42,16 +42,12 @@ class AppConfigurationJobService : JobService() {
42
43
appConfigurationDownloader.downloadTask()
44
.subscribeOn(Schedulers.io())
45
- .onErrorComplete() {
+ .subscribe({
46
+ Timber.i("Successfully downloaded all data")
47
+ }, {
48
Timber.w(it, "Failed to download app configuration")
49
jobFinishedFailed(params)
- true
- }
50
- .doOnComplete {
51
- jobFinishedSuccessfully(params)
52
- Timber.i("Successfully downloaded all data")
53
54
- .subscribe({})
+ })
55
56
return true
57
}
0 commit comments