Reset mRestartPostponedmRestartPostponed when ST was restarted

This commit is contained in:
Lode Hoste 2015-03-24 23:22:57 +01:00
parent e89e579b6c
commit 1bd24e64e0
1 changed files with 1 additions and 0 deletions

View File

@ -268,6 +268,7 @@ public class RestApi implements SyncthingService.OnWebGuiAvailableListener,
mContext.getSystemService(Context.NOTIFICATION_SERVICE); mContext.getSystemService(Context.NOTIFICATION_SERVICE);
nm.cancel(NOTIFICATION_RESTART); nm.cancel(NOTIFICATION_RESTART);
new PostTask().execute(mUrl, PostTask.URI_SHUTDOWN, mApiKey); new PostTask().execute(mUrl, PostTask.URI_SHUTDOWN, mApiKey);
mRestartPostponed = false;
} }
/** /**