sforkowany z mirror/meshtastic-android
also show failure to bond in the GUI
rodzic
56534f0b89
commit
5e57fd69e1
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue