From 59ddf7971a2a164b8aa13c9e96609ec677d434fd Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 17 Mar 2021 12:16:00 +0100 Subject: [PATCH] Added logging --- app/src/main/java/eu/faircode/email/ServiceSynchronize.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java index cc474afd0f..8050331c36 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java +++ b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java @@ -2045,6 +2045,11 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences updateNetworkState(network, "properties"); } + @Override + public void onBlockedStatusChanged(@NonNull Network network, boolean blocked) { + EntityLog.log(ServiceSynchronize.this, "Network " + network + " blocked=" + blocked); + } + @Override public void onLost(@NonNull Network network) { updateNetworkState(network, "lost");