mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-18 21:28:54 +00:00
Skip scheduling on watchdog
This commit is contained in:
parent
14126952da
commit
2e84193967
1 changed files with 1 additions and 1 deletions
|
@ -1076,7 +1076,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||||
|
|
||||||
private void onWatchdog(Intent intent) {
|
private void onWatchdog(Intent intent) {
|
||||||
EntityLog.log(this, "Watchdog");
|
EntityLog.log(this, "Watchdog");
|
||||||
schedule(this, false);
|
//schedule(this, false);
|
||||||
|
|
||||||
if (lastNetworkState == null || !lastNetworkState.isSuitable())
|
if (lastNetworkState == null || !lastNetworkState.isSuitable())
|
||||||
updateNetworkState(null, "watchdog");
|
updateNetworkState(null, "watchdog");
|
||||||
|
|
Loading…
Reference in a new issue