mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-23 04:41:16 +00:00
Reset mRestartPostponedmRestartPostponed when ST was restarted
This commit is contained in:
parent
e89e579b6c
commit
1bd24e64e0
1 changed files with 1 additions and 0 deletions
|
@ -268,6 +268,7 @@ public class RestApi implements SyncthingService.OnWebGuiAvailableListener,
|
|||
mContext.getSystemService(Context.NOTIFICATION_SERVICE);
|
||||
nm.cancel(NOTIFICATION_RESTART);
|
||||
new PostTask().execute(mUrl, PostTask.URI_SHUTDOWN, mApiKey);
|
||||
mRestartPostponed = false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue