Revert "Lazily start IpNeighbourMonitor in qs tiles"

This reverts commit 490f6c5115.
This commit is contained in:
Mygod
2020-06-21 00:05:32 -04:00
parent 490f6c5115
commit 75f85216fa
4 changed files with 2 additions and 21 deletions

View File

@@ -92,7 +92,6 @@ sealed class TetheringTileService : IpNeighbourMonitoringTileService(), Tetherin
state = Tile.STATE_ACTIVE
icon = if (interested.all(binder::isActive)) tileOn else tileOff
subtitleDevices(interested::contains)
listenForClients()
}
}
label = getText(labelString)
@@ -180,7 +179,6 @@ sealed class TetheringTileService : IpNeighbourMonitoringTileService(), Tetherin
state = Tile.STATE_ACTIVE
icon = if (interested.isNotEmpty() && interested.all(binder::isActive)) tileOn else tileOff
subtitleDevices(interested::contains)
listenForClients()
}
false -> {
state = Tile.STATE_INACTIVE