1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2025-01-10 20:15:54 +00:00

Reload URL and API key when importing config

Fixes #777
This commit is contained in:
Unrud 2016-11-06 00:31:13 +01:00 committed by GitHub
parent 57a8d270e1
commit 390d0784ee

View file

@ -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;
}
}