mirror of https://github.com/M66B/FairEmail.git
Let watchdog check the network state
This commit is contained in:
parent
c5e36dd1cb
commit
a2e1bb5f2a
|
@ -746,7 +746,7 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
||||||
|
|
||||||
private void onWatchdog(Intent intent) {
|
private void onWatchdog(Intent intent) {
|
||||||
schedule(this);
|
schedule(this);
|
||||||
onEval(intent);
|
networkCallback.onCapabilitiesChanged(null, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
private NotificationCompat.Builder getNotificationService(Integer accounts, Integer operations) {
|
private NotificationCompat.Builder getNotificationService(Integer accounts, Integer operations) {
|
||||||
|
|
Loading…
Reference in New Issue