Allow wifi CONNECT_NETWORK in ObtainingIpState

The user should be able to pick a new network in the situation that it
is taking a long time to get an IP configuration.

Also cleaned up a nearby obsolete TODO.

Bug: 133459384
Bug: 36576642
Test: atest FrameworksWifiTests
Test: atest com.android.server.wifi.ClientModeImplTest#connectWhileObtainingIp
Test: manual, using an AP with its DHCP server turned off
Change-Id: Icfbad84cad39b9f7026c541487eae4c922644865
2 files changed
tree: d42fa7d9b0ccf54a3f2b1e5eb55c39151afa6cc6
  1. service/
  2. PREUPLOAD.cfg