Summary
Wireless ADB should remain usable after the user force-stops the app, clears it from recents, or the process is killed and restarted—and after a full device reboot when wireless debugging is enabled and pairing is still valid. Today the connection or authorization state may not be re-established automatically on cold start or boot, so users may need to re-open settings or re-pair more often than necessary.
Scope (suggested)
- Connection lifecycle: Ensure pairing material and any session state needed for a working
autoConnect path are restored or re-established when the app process starts again, within Android wireless-debugging constraints (including behavior differences after reboot, e.g. port or address changes).
- Startup / boot: Consider reconnect or connection checks from app entry (
Application, first activity, or installer flow) aligned with WirelessAdbInstaller / AdbConnectionManager without blocking UI longer than necessary; account for first launch after reboot.
- UX: When the OS still requires a new authorization or pairing step, keep the existing setup / pairing flows; this issue is about not losing a still-valid wireless session unnecessarily.
Acceptance criteria
Notes
AdbConnectionManager and DataStore-backed keys already persist RSA material across restarts; this work focuses on connection/session behavior after process death and post-reboot recovery, not duplicating key storage.
- Reboot may change wireless debugging endpoints (e.g. port); discovery or settings deep-links may still be needed—call out in docs or in-app copy if unavoidable.
- Coordinate with any follow-ups on ADB install UX (e.g. warnings when ADB is not ready).
Summary
Wireless ADB should remain usable after the user force-stops the app, clears it from recents, or the process is killed and restarted—and after a full device reboot when wireless debugging is enabled and pairing is still valid. Today the connection or authorization state may not be re-established automatically on cold start or boot, so users may need to re-open settings or re-pair more often than necessary.
Scope (suggested)
autoConnectpath are restored or re-established when the app process starts again, within Android wireless-debugging constraints (including behavior differences after reboot, e.g. port or address changes).Application, first activity, or installer flow) aligned withWirelessAdbInstaller/AdbConnectionManagerwithout blocking UI longer than necessary; account for first launch after reboot.Acceptance criteria
Notes
AdbConnectionManagerand DataStore-backed keys already persist RSA material across restarts; this work focuses on connection/session behavior after process death and post-reboot recovery, not duplicating key storage.