Skip to content

Consolidate network listeners

Albert Vaca Cintora requested to merge work/consolidateNetworkListeners into master
  • Do not listen for network changes both from PairingFragment and BackgroundService, since PairingFragment already receives a callback from BackgroundService.
  • Remove usage of deprecated WiFi ConnectivityManager in PairingFragment, instead we can pass the connection info we want via the callback. Also fixes a NPE case.
  • Only listen for non-cellular network changes (where we can actually discover devices), saving battery.
Edited by Albert Vaca Cintora

Merge request reports