mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-26 00:47:43 +00:00
Fix network status detection
This commit is contained in:
parent
c3586fe0a5
commit
8aac373ca3
@ -32,7 +32,7 @@ open class LollipopNetworkObserver(
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun onLost(network: Network) {
|
override fun onLost(network: Network) {
|
||||||
emit(Connectivity())
|
emit(Connectivity.create(manager, network))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user