Check if routings is empty after update
This commit is contained in:
@@ -92,6 +92,10 @@ class TetheringService : IpNeighbourMonitoringService(), UpstreamMonitor.Callbac
|
||||
}
|
||||
}
|
||||
}
|
||||
if (routings.isEmpty()) {
|
||||
updateRoutingsLocked()
|
||||
return
|
||||
}
|
||||
updateNotification()
|
||||
}
|
||||
app.handler.post { binder.fragment?.adapter?.notifyDataSetChanged() }
|
||||
|
||||
Reference in New Issue
Block a user