HalDeviceManager: Lock the service manager callback
We should hold the lock when we set mWifi to a non-null value and
should only unlock once we finish all the processing needed (which
includes a IWifi.stop() invocation). This should prevent any other
threads to proceed while this callback is being handled in the hwbinder
thread.
Bug: 62511857
Test: Device boots up and connects to wifi networks.
Test: Will send for regression tests.
Change-Id: I393455f4aea618d110c158cb2c4b3350e2ab5376
1 file changed