ClientModeImpl: Ignore connect when connecting to network

Use internal variables to check whether we're connected or connecting to
the network requested in WifiManager.connect(). If there is a credential
change, we will forcefully retrigger a new connection request.

Bug: 157696785
Test: atest com.android.server.wifi
Change-Id: I514b5b3a1ed5205fde98bc6fd2b59285e10913ef
Merged-In: I514b5b3a1ed5205fde98bc6fd2b59285e10913ef
2 files changed
tree: bfafdd91d58507b8afd27c825d209134e0b1c251
  1. apex/
  2. service/
  3. metrics_pdd_hook.py
  4. PREUPLOAD.cfg