WifiConnectivityManager: Fix ONA trigger on no candididates

Add a helper method to consolidate the no candidates handling
(either from getCandidatesFromScan() or from selectNetwork()).

Bug: 169413079
Test: atest com.android.server.wifi
Change-Id: I76c6f92592a54e6dddd393a6c000a86c235da50b
2 files changed
tree: 45dd9077fcd4061ea54893a3d8f1d30b6775512c
  1. apex/
  2. service/
  3. metrics_pdd_hook.py
  4. PREUPLOAD.cfg