Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2018-08-23 11:42:53 +02:00
parent 92951252b3
commit d7b7fd466a

View file

@ -288,7 +288,7 @@ public class PushUtils {
ncApi.registerDeviceForNotificationsWithProxy(finalCredentials,
ApiUtils.getUrlPushProxy(), proxyMap)
.subscribeOn(Schedulers.newThread())
.blockingSubscribe(new Observer<Void>() {
.subscribe(new Observer<Void>() {
@Override
public void onSubscribe(Disposable d) {
@ -316,7 +316,7 @@ public class PushUtils {
userEntity.getDisplayName(),
LoganSquare.serialize(pushConfigurationState), null,
null, userEntity.getId(), null, null)
.blockingSubscribe(new Observer<UserEntity>() {
.subscribe(new Observer<UserEntity>() {
@Override
public void onSubscribe(Disposable d) {