also show failure to bond in the GUI

1.2-legacy
geeksville 2020-04-23 09:03:44 -07:00
rodzic 56534f0b89
commit 5e57fd69e1
1 zmienionych plików z 2 dodań i 4 usunięć

Wyświetl plik

@ -69,10 +69,8 @@ private fun requestBonding(
if (state != BOND_BONDING) {
context.unregisterReceiver(this) // we stay registered until bonding completes (either with BONDED or NONE)
if (state == BOND_BONDED) {
SLogging.debug("Bonding completed, state=$state")
onComplete(state)
}
SLogging.debug("Bonding completed, state=$state")
onComplete(state)
}
}
}