Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 38c0b2df authored by cketti's avatar cketti
Browse files

Restart AccountPushControllers when connectivity returns

PushController.onConnectivityChanged() is not only called when the active network changes, but also when connectivity returns (offline -> online). In that case we need to restart the AccountPushControllers.
parent ec1f3c37
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -105,6 +105,8 @@ class PushController internal constructor(
                    accountPushController.reconnect()
                }
            }

            updatePushers()
        }
    }