mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-11-06 20:43:46 +08:00
745b1e94de
LeaseAwarePhone (used for every wireless session) had no adapter() method, so Supervisor._adapter_address() hit AttributeError, swallowed it, and returned "". The Bluetooth-service pairing request was therefore never sent (bluetooth_opened always logged phone_address: ""). A 2020 myChevrolet (head unit 2.46.1.6) through an AAWireless Two+ then accepted and acknowledged video but never showed it. A real phone sends the pairing request about 1 s into the session; the car shows Android Auto once its hands-free link to that address is up. Pass adapter() through to the wrapped BluezPhone. It is a read-only property lookup, so it needs no phone-role lease, like devices() and device(). _adapter_address() now logs adapter_address_unavailable instead of failing silently. Tested on the car (session-000052): phone_address sent, pairing response received, picture displayed, touch input worked, 20-29 fps fully acked. Co-authored-by: droobah <34214975+droobah@users.noreply.github.com>