diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-10-29 20:30:14 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-10-29 20:30:14 +0100 |
commit | 92bc76d10f5058217864021ae1a097a5d6134f8b (patch) | |
tree | 55ebcf62bba297b3b1d6406c0ec26b6fe8083e0d /src/main/java/de/pixart/messenger/ui/ConversationActivity.java | |
parent | 58e0c013757450dded472c3034280fbb4f81d4db (diff) |
UpdateService: use THREAD_POOL_EXECUTOR
Diffstat (limited to '')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/ConversationActivity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ConversationActivity.java b/src/main/java/de/pixart/messenger/ui/ConversationActivity.java index 895ce5063..5126be565 100644 --- a/src/main/java/de/pixart/messenger/ui/ConversationActivity.java +++ b/src/main/java/de/pixart/messenger/ui/ConversationActivity.java @@ -391,7 +391,7 @@ public class ConversationActivity extends XmppActivity editor.commit(); Log.d(Config.LOGTAG, "AppUpdater: CurrentTime: " + lastUpdateTime); UpdateService task = new UpdateService(this); - task.execute("false"); + task.executeOnExecutor(UpdateService.THREAD_POOL_EXECUTOR, "false"); Log.d(Config.LOGTAG, "AppUpdater started"); } else { Log.d(Config.LOGTAG, "AppUpdater stopped"); |