diff --git a/src/main/java/com/nutomic/syncthingandroid/service/SyncthingService.java b/src/main/java/com/nutomic/syncthingandroid/service/SyncthingService.java index abc196e8..b8f6f05d 100644 --- a/src/main/java/com/nutomic/syncthingandroid/service/SyncthingService.java +++ b/src/main/java/com/nutomic/syncthingandroid/service/SyncthingService.java @@ -568,7 +568,8 @@ public class SyncthingService extends Service implements Log.w(TAG, "Failed to import config", e); } mCurrentState = State.INIT; - updateState(); + onApiChange(); + new StartupTask().executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); return true; } }