Suppress reporting interface becoming null
This commit is contained in:
@@ -48,7 +48,7 @@ object DefaultNetworkMonitor : UpstreamMonitor() {
|
|||||||
val ifname = properties.interfaceName
|
val ifname = properties.interfaceName
|
||||||
when {
|
when {
|
||||||
ifname == null -> {
|
ifname == null -> {
|
||||||
Timber.w(RuntimeException("interfaceName became null: $oldProperties -> $properties"))
|
Timber.w("interfaceName became null: $oldProperties -> $properties")
|
||||||
onLost(network)
|
onLost(network)
|
||||||
}
|
}
|
||||||
ifname != oldProperties.interfaceName -> {
|
ifname != oldProperties.interfaceName -> {
|
||||||
|
|||||||
Reference in New Issue
Block a user