DO NOT MERGE: WifiStateMachine: Add null check in CMD_AUTO_ROAM

The crash reported by the user seems to have occured as the user
was turning off/on wifi.
The networkID selected by WifiConnectivityManager may be invalid by
the time this message is processed by WifiStateMachine. So, add an
explicit null check to abort the roam request.

Bug: 33106930
Test: Will send for regression tests.
Change-Id: I992a35e099d7af922da046107fa8e41052b5d2c1
1 file changed
tree: 1c7d134d3edd4d0038409c8a6cc5c43cd7c879cc
  1. service/
  2. tests/