mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-12-04 04:53:44 -05:00
* feat(agent): connect the agent on Quest, which has no pairing screen Quest hides Android's Wireless debugging pairing, so the agent's connection step could not be completed there. On a Quest the step's action is now Allow: DroidDeck connects to adbd on 127.0.0.1:5555 (after a one-time `adb tcpip 5555` from a computer) and the headset asks "Allow debugging?" for DroidDeck's key. Wireless debugging accepts a key allowed that way, so the saved loopback connection then works like a pairing. DroidDeck also declares WRITE_SECURE_SETTINGS. When it is granted over adb, DroidDeck turns Wireless debugging on itself before looking for its port. * fix(agent): keep the Quest setup hint visible and report a declined prompt correctly A late connection lookup no longer overwrites an Allow that is running. On a Quest, the connection row shows its status above the full hint, which holds the one-time commands. The failure message no longer claims port 5555 was silent, since a declined or unanswered prompt fails the same way. * fix(agent): connection checks from before an Allow no longer overwrite it A check started before Allow could land after it and mark the step as not done, or replace the prompt instructions while Allow was still waiting. Each Allow now starts a new generation, and older connection results are dropped, as are results that land while Allow is running. * ci: rerun after the Maven 429 rate limit * fix(quest): turn Wireless debugging on by itself only on Quest Other devices keep exactly their pairing flow even if WRITE_SECURE_SETTINGS is granted. Once connected, the Quest agent row shows its usual short hint instead of the setup instructions. * fix(quest): connect after a reboot without a second Allow After a reboot, turning Wireless debugging on makes the Quest ask again to allow it on this network, and the 2 s wait ran out before that was answered, so the row showed Allow. Allow then failed, since port 5555 is closed after a reboot. The lookup now keeps trying for up to 30 s after turning Wireless debugging on, and Allow first tries the already-trusted key over Wireless debugging before asking on port 5555. * ci: rerun after download timeouts in the Python tests --------- Co-authored-by: FryMcNugget <[email protected]>