aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/services
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-07-29 15:30:09 +0200
committerChristian Schneppe <christian@pix-art.de>2018-07-29 15:30:09 +0200
commitd8ee029f3743bded09641343926151bab0254d52 (patch)
tree2a473f3ea3a884d1eabbb4f2234a83d06d8e5d7e /src/main/java/de/pixart/messenger/services
parentf2a86b4cbd2c58ac9a8a1f69ffad4278418bc866 (diff)
fix crash during lookup for updates
Diffstat (limited to 'src/main/java/de/pixart/messenger/services')
-rw-r--r--src/main/java/de/pixart/messenger/services/UpdateService.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/de/pixart/messenger/services/UpdateService.java b/src/main/java/de/pixart/messenger/services/UpdateService.java
index da940f7b7..7e636b8e6 100644
--- a/src/main/java/de/pixart/messenger/services/UpdateService.java
+++ b/src/main/java/de/pixart/messenger/services/UpdateService.java
@@ -30,14 +30,13 @@ import static de.pixart.messenger.http.HttpConnectionManager.getProxy;
import static de.pixart.messenger.services.NotificationService.UPDATE_NOTIFICATION_ID;
public class UpdateService extends AsyncTask<String, Object, UpdateService.Wrapper> {
- XmppConnectionService mXmppConnectionService;
private boolean mUseTor;
private Context context;
private boolean playstore;
public UpdateService() {
}
- public UpdateService(Context context, boolean PlayStore) {
+ public UpdateService(Context context, boolean PlayStore, XmppConnectionService mXmppConnectionService) {
this.context = context;
this.playstore = PlayStore;
this.mUseTor = mXmppConnectionService.useTorToConnect();