From 3869cf0b9b40a075807c2a3401e392db07daf2fc Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Tue, 10 Jun 2014 23:46:29 -0400 Subject: [PATCH] Synchronization needs fixing, otherwise works. --- .../activities/downloader/manager/RefreshManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MinimalBible/src/main/java/org/bspeice/minimalbible/activities/downloader/manager/RefreshManager.java b/MinimalBible/src/main/java/org/bspeice/minimalbible/activities/downloader/manager/RefreshManager.java index 4d572cb..9f7aea3 100644 --- a/MinimalBible/src/main/java/org/bspeice/minimalbible/activities/downloader/manager/RefreshManager.java +++ b/MinimalBible/src/main/java/org/bspeice/minimalbible/activities/downloader/manager/RefreshManager.java @@ -54,12 +54,12 @@ public class RefreshManager { // Set refresh complete when it is. availableModules.subscribeOn(AndroidSchedulers.handlerThread(backgroundHandler)) - .subscribe(null, null, () -> refreshComplete.set(true)); + .subscribe((onNext) -> {}, (onError) -> {}, () -> refreshComplete.set(true)); } } public Observable>> getAvailableModules() { - return getAvailableModules(); + return availableModules; } /**