Synchronization needs fixing, otherwise works.

This commit is contained in:
Bradlee Speice 2014-06-10 23:46:29 -04:00
parent 8d17b6db64
commit 3869cf0b9b

View File

@ -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<Map<Installer, List<Book>>> getAvailableModules() {
return getAvailableModules();
return availableModules;
}
/**