From 90aa29d81d7fa5e10b1c4dd40a58194c76ca000a Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Mon, 31 Oct 2016 04:26:31 +0900 Subject: [PATCH] Also start Syncthing using thread pool --- .../nutomic/syncthingandroid/syncthing/SyncthingService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingService.java b/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingService.java index a3895c19..7a3bcda0 100644 --- a/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingService.java +++ b/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingService.java @@ -311,7 +311,7 @@ public class SyncthingService extends Service implements registerReceiver(mPowerSaveModeChangedReceiver, new IntentFilter(PowerManager.ACTION_POWER_SAVE_MODE_CHANGED)); } - new StartupTask().execute(); + new StartupTask().executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); PreferenceManager.getDefaultSharedPreferences(this) .registerOnSharedPreferenceChangeListener(this); }