refactor(model): remove ConnectionState helper methods and fix updateStatusNotification return type (#5074)

This commit is contained in:
James Rich 2026-04-11 18:41:34 -05:00 committed by GitHub
parent 174315b21f
commit 62264b10c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 51 additions and 35 deletions

View file

@ -347,11 +347,12 @@ class MeshConnectionManagerImpl(
updateStatusNotification(t)
}
override fun updateStatusNotification(telemetry: Telemetry?): Any =
override fun updateStatusNotification(telemetry: Telemetry?) {
serviceNotifications.updateServiceStateNotification(
serviceRepository.connectionState.value,
telemetry = telemetry,
)
}
companion object {
private const val DEVICE_SLEEP_TIMEOUT_SECONDS = 30