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:
commit
ea121dd89d
1 changed files with 2 additions and 1 deletions
|
@ -568,7 +568,8 @@ public class SyncthingService extends Service implements
|
||||||
Log.w(TAG, "Failed to import config", e);
|
Log.w(TAG, "Failed to import config", e);
|
||||||
}
|
}
|
||||||
mCurrentState = State.INIT;
|
mCurrentState = State.INIT;
|
||||||
updateState();
|
onApiChange();
|
||||||
|
new StartupTask().executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue