WifiNetworkFactory: Handle request for connection to current network
Always trigger a disconnect before issuing the connect request for a
user approved network. This will ensure that we can start with a clean
slate for any connection requests from app (after user approves the
request).
Bug: 132298510
Test: Repro'ed the reported multinetwork CtsVerifier test failure &
verified that this CL passes the test.
Test: Manually verified the wifi network request CtsVerifier tests.
Test: atest com.android.server.wifi.ClientModeImplTest
Test: Existing ACTS test - WifiNetworkRequestTest
Change-Id: I718238a1ee790bd416222161c87c90c348ea59a1
2 files changed