diff options
author | ByteHamster <info@bytehamster.com> | 2020-07-12 09:55:28 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2020-07-12 09:55:28 +0200 |
commit | 663b08fc4478bceb1a80581a9c0875bde35f430b (patch) | |
tree | 7463127c3923bb95f260be66ffd2cc463aa6987e /app | |
parent | 8d1cc822582896f98b19301e1af7d58711dd9f65 (diff) | |
download | AntennaPod-663b08fc4478bceb1a80581a9c0875bde35f430b.zip |
Install provider in any case
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/activity/OnlineFeedViewActivity.java | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/activity/OnlineFeedViewActivity.java b/app/src/main/java/de/danoeh/antennapod/activity/OnlineFeedViewActivity.java index 0f7bab273..58b2d6db1 100644 --- a/app/src/main/java/de/danoeh/antennapod/activity/OnlineFeedViewActivity.java +++ b/app/src/main/java/de/danoeh/antennapod/activity/OnlineFeedViewActivity.java @@ -266,16 +266,15 @@ public class OnlineFeedViewActivity extends AppCompatActivity { true, null, true); download = Observable.fromCallable(() -> { - feeds = DBReader.getFeedList(); - ClientConfig.installSslProvider(this); - downloader = new HttpDownloader(request); - downloader.call(); - return downloader.getResult(); - }) - .subscribeOn(Schedulers.io()) - .observeOn(AndroidSchedulers.mainThread()) - .subscribe(this::checkDownloadResult, - error -> Log.e(TAG, Log.getStackTraceString(error))); + feeds = DBReader.getFeedList(); + downloader = new HttpDownloader(request); + downloader.call(); + return downloader.getResult(); + }) + .subscribeOn(Schedulers.io()) + .observeOn(AndroidSchedulers.mainThread()) + .subscribe(this::checkDownloadResult, + error -> Log.e(TAG, Log.getStackTraceString(error))); } private void checkDownloadResult(@NonNull DownloadStatus status) { |