throw new RuntimeException("no permission");
}
}
})
.observeOn(Schedulers.io())
<BUG>.compose(rxDownload.<Boolean>transform(new DownloadBean.Builder(url).setExtra1(image).setExtra2("微信").build()))
.observeOn(AndroidSchedulers.mainThread())</BUG>
.subscribe(new Observer<DownloadStatus>() {
@Override
public void onSubscribe(Disposable d) {

throw new RuntimeException("no permission");
}
}
})
.observeOn(Schedulers.io())
.compose(rxDownload.<Boolean>transform(url))
.observeOn(AndroidSchedulers.mainThread())
.subscribe(new Observer<DownloadStatus>() {
@Override
public void onSubscribe(Disposable d) {
