refactor: attempt to improve network change detection for tecno, redmi, samsung devices

closes #984
This commit is contained in:
Zane Schepke
2025-10-04 16:15:18 -04:00
parent 5ee5ebe736
commit 4015aa1f28
3 changed files with 183 additions and 88 deletions
@@ -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