mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 01:36:55 +00:00
Send: initialize active network
This commit is contained in:
parent
503c1f521e
commit
b0ec6e7489
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue