mirror of
https://github.com/google/bumble.git
synced 2026-05-08 03:58:01 +00:00
address PR comments
This commit is contained in:
@@ -2808,7 +2808,7 @@ class Device(CompositeEventEmitter):
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
AsyncRunner.spawn(confirm())
|
AsyncRunner.spawn(connection.abort_on('disconnection', confirm()))
|
||||||
return
|
return
|
||||||
|
|
||||||
if io_capability == HCI_DISPLAY_ONLY_IO_CAPABILITY:
|
if io_capability == HCI_DISPLAY_ONLY_IO_CAPABILITY:
|
||||||
|
|||||||
@@ -114,7 +114,7 @@ class PairingDelegate:
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
async def confirm(self) -> bool:
|
async def confirm(self) -> bool:
|
||||||
"""Respond yes or not to a Pairing confirmation question."""
|
"""Respond yes or no to a Pairing confirmation question."""
|
||||||
return True
|
return True
|
||||||
|
|
||||||
# pylint: disable-next=unused-argument
|
# pylint: disable-next=unused-argument
|
||||||
|
|||||||
Reference in New Issue
Block a user