1
0
Fork 0
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:
Felix Ableitner 2014-12-01 07:04:14 +02:00
parent 3a48be14fd
commit ab184aee48

View file

@ -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) {