mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-05-29 09:07:15 -04:00
Relocates RadioController, AdminController, MessagingController, NodeController, and RequestController from core:model to core:repository where they belong (alongside their consumers and the ServiceRepository they mirror). Splits the monolithic RadioController into 4 focused sub-interfaces following the Interface Segregation Principle: - AdminController: config, channels, device lifecycle - MessagingController: send packets, reactions, contacts - NodeController: favorite, ignore, mute, remove - RequestController: traceroute, telemetry, position queries RadioController remains as a composite extending all four for backward compatibility. Feature modules can now inject the narrower interface for better testability. Also fixes ScannerViewModelTest by adding Dispatchers.setMain/resetMain to match the pattern used by all other ViewModel tests. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>