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.
This commit is contained in:
parent
ec1f3c3722
commit
38c0b2dfb2
1 changed files with 2 additions and 0 deletions
|
@ -105,6 +105,8 @@ class PushController internal constructor(
|
|||
accountPushController.reconnect()
|
||||
}
|
||||
}
|
||||
|
||||
updatePushers()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue