Fix network status detection

This commit is contained in:
topjohnwu 2020-09-08 21:55:43 -07:00
parent c3586fe0a5
commit 8aac373ca3

View File

@ -32,7 +32,7 @@ open class LollipopNetworkObserver(
}
override fun onLost(network: Network) {
emit(Connectivity())
emit(Connectivity.create(manager, network))
}
}
}