1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-27 06:41:15 +00:00

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

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;
} }
/** /**