mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-23 03:11:30 +00:00
Reload GUI when restarting from web GUI (fixes #188).
This commit is contained in:
parent
3a48be14fd
commit
ab184aee48
1 changed files with 2 additions and 0 deletions
|
@ -70,6 +70,8 @@ public class SyncthingRunnable implements Runnable {
|
|||
|
||||
if (ret == 3) {
|
||||
Log.i(TAG, "Restarting syncthing");
|
||||
mContext.startService(new Intent(mContext, SyncthingService.class)
|
||||
.setAction(SyncthingService.ACTION_RESTART));
|
||||
}
|
||||
} while (ret == 3);
|
||||
} catch (IOException | InterruptedException e) {
|
||||
|
|
Loading…
Reference in a new issue