Skip to content

Comments

Support auto-refresh devices list#85

Merged
shripal17 merged 1 commit intomainfrom
feature/adb_track_devices
Feb 12, 2026
Merged

Support auto-refresh devices list#85
shripal17 merged 1 commit intomainfrom
feature/adb_track_devices

Conversation

@shripal17
Copy link
Collaborator

  • Replace one-shot adb start-server init with persistent adb track-devices streaming process to auto-detect device connect/disconnect events
  • Add InitDeviceTracking and RestartTracking events to DevicesBloc with full process lifecycle management (start, stop, restart on close)
  • Generalize RunningProcessManager from Scrcpy-specific types to generic ProcessStopResult/ProcessStopError for reuse across adb and scrcpy processes
  • Rename ScrcpyKillError to ScrcpyStopError for naming consistency
  • Extract navigation pane logic from HomeScreen into NavigationService
  • Wire HomeScreen to listen for device tracking state via BlocConsumer and subscribe to track-devices stdout for automatic device list reload
  • Restart device tracking when ADB executable path changes in settings
  • Add i18n key for tracking failure error message

Closes #60

…e refresh

- Replace one-shot `adb start-server` init with persistent `adb track-devices`
  streaming process to auto-detect device connect/disconnect events
- Add InitDeviceTracking and RestartTracking events to DevicesBloc with
  full process lifecycle management (start, stop, restart on close)
- Generalize RunningProcessManager from Scrcpy-specific types to generic
  ProcessStopResult/ProcessStopError for reuse across adb and scrcpy processes
- Rename ScrcpyKillError to ScrcpyStopError for naming consistency
- Extract navigation pane logic from HomeScreen into NavigationService
- Wire HomeScreen to listen for device tracking state via BlocConsumer
  and subscribe to track-devices stdout for automatic device list reload
- Restart device tracking when ADB executable path changes in settings
- Add i18n key for tracking failure error message
@shripal17 shripal17 merged commit 645a003 into main Feb 12, 2026
3 checks passed
@shripal17 shripal17 deleted the feature/adb_track_devices branch February 12, 2026 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Auto-refresh devices list

1 participant