WifiLastResortWatchdog: update config if not null
When new scan results are processed, networks already stored as the
available networks may have updated configs passed in, but they may also
have null configs. The null configs should not be used to update the
stored config. Added a check to determine if the passed in config is
not null before the update.
In addition, debugging output also reported the value of
HasEverConnected as false for networks with a null config. This was
updated to report null_config instead.
Added tests covering config updates.
Added tests for debugging output.
BUG: 28451079
Change-Id: Iff9888ab87c61619b2f865516eca22d87eb4f4b8
2 files changed