mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-23 11:21:29 +00:00
Also start Syncthing using thread pool
This commit is contained in:
parent
ade637521e
commit
90aa29d81d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue