From b0ec6e74892b276f92c03d66df5302b63a320a23 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 7 Mar 2024 19:39:29 +0100 Subject: [PATCH] Send: initialize active network --- app/src/main/java/eu/faircode/email/ServiceSend.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/faircode/email/ServiceSend.java b/app/src/main/java/eu/faircode/email/ServiceSend.java index 494045c719..8ecb0acd16 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSend.java +++ b/app/src/main/java/eu/faircode/email/ServiceSend.java @@ -175,6 +175,7 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar } }); + lastActive = ConnectionHelper.getActiveNetwork(this); lastSuitable = ConnectionHelper.getNetworkState(this).isSuitable(); if (lastSuitable) owner.start();