Commit 8aac373c authored by topjohnwu's avatar topjohnwu

Fix network status detection

parent c3586fe0
......@@ -32,7 +32,7 @@ open class LollipopNetworkObserver(
}
override fun onLost(network: Network) {
emit(Connectivity())
emit(Connectivity.create(manager, network))
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment