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

Merge pull request #779 from Unrud/patch-2

Reload URL and API key when importing config
This commit is contained in:
Felix Ableitner 2016-11-06 14:18:43 +09:00 committed by GitHub
commit ea121dd89d

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