diff --git a/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingService.java b/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingService.java index 8a0c799d..f3a5777c 100644 --- a/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingService.java +++ b/src/main/java/com/nutomic/syncthingandroid/syncthing/SyncthingService.java @@ -324,7 +324,8 @@ public class SyncthingService extends Service { */ private class StartupTask extends AsyncTask> { @Override - protected Pair doInBackground(Void... voids) {Looper.prepare(); + protected Pair doInBackground(Void... voids) { + //Looper.prepare(); if (isFirstStart()) { Log.i(TAG, "App started for the first time. " + "Copying default config, keys will be generated automatically");