From 40c706c4ab05094cd33871ea08f2ea798e88566a Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Mon, 1 Sep 2014 16:10:04 -0400 Subject: [PATCH] Fix a deprecation --- .../activity/downloader/manager/BookDownloadManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/bspeice/minimalbible/activity/downloader/manager/BookDownloadManager.java b/app/src/main/java/org/bspeice/minimalbible/activity/downloader/manager/BookDownloadManager.java index 0f4f471..d2c4ef5 100644 --- a/app/src/main/java/org/bspeice/minimalbible/activity/downloader/manager/BookDownloadManager.java +++ b/app/src/main/java/org/bspeice/minimalbible/activity/downloader/manager/BookDownloadManager.java @@ -72,7 +72,7 @@ public class BookDownloadManager implements WorkListener, BooksListener { // So, the JobManager can't be injected, but we'll make do // First, look up where the Book came from - Observable.from(refreshManager.installerFromBook(b)) + Observable.just(refreshManager.installerFromBook(b)) .subscribeOn(Schedulers.io()) .subscribe(new Action1() { @Override