mirror of
https://github.com/wgtunnel/android.git
synced 2026-07-03 14:07:49 +02:00
refactor: attempt to improve network change detection for tecno, redmi, samsung devices
closes #984
This commit is contained in:
@@ -38,6 +38,7 @@ data class TunnelState(
|
||||
statistics?.let { stats ->
|
||||
if (stats.isTunnelStale()) return Health.STALE
|
||||
if (stats.rx() == 0L) return Health.UNKNOWN
|
||||
return Health.HEALTHY
|
||||
}
|
||||
|
||||
return Health.UNKNOWN
|
||||
|
||||
Reference in New Issue
Block a user