aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/ui
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/ui
parentf2a86b4cbd2c58ac9a8a1f69ffad4278418bc866 (diff)
fix crash during lookup for updates
Diffstat (limited to 'src/main/java/de/pixart/messenger/ui')
-rw-r--r--src/main/java/de/pixart/messenger/ui/ConversationsActivity.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ConversationsActivity.java b/src/main/java/de/pixart/messenger/ui/ConversationsActivity.java
index 91170567d..67618dc65 100644
--- a/src/main/java/de/pixart/messenger/ui/ConversationsActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/ConversationsActivity.java
@@ -562,7 +562,7 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio
if (!installFromUnknownSourceAllowed() && !xmppConnectionService.installedFromPlayStore()) {
openInstallFromUnknownSourcesDialogIfNeeded();
} else {
- UpdateService task = new UpdateService(this, xmppConnectionService.installedFromPlayStore());
+ UpdateService task = new UpdateService(this, xmppConnectionService.installedFromPlayStore(), xmppConnectionService);
task.executeOnExecutor(UpdateService.THREAD_POOL_EXECUTOR, "true");
Log.d(Config.LOGTAG, "AppUpdater started");
}
@@ -957,7 +957,7 @@ public class ConversationsActivity extends XmppActivity implements OnConversatio
if (!installFromUnknownSourceAllowed() && !PlayStore) {
openInstallFromUnknownSourcesDialogIfNeeded();
} else {
- UpdateService task = new UpdateService(this, PlayStore);
+ UpdateService task = new UpdateService(this, PlayStore, xmppConnectionService);
task.executeOnExecutor(UpdateService.THREAD_POOL_EXECUTOR, "false");
Log.d(Config.LOGTAG, "AppUpdater started");
}