WifiNetworkFactory: Don't turn off autojoin when using secondary STA

When using a secondary STA for peer to peer connection, there is no need
to turn off auto-join on the primary STA.

Note: This also pushes the auto-join toggle off trigger to just before
the connection is triggered (that is the reason for most of the unit
test changes in the CL).

Bug: 148935691
Test: atest com.android.server.wifi
Change-Id: Ib2e5793eb9d6b48253fc248a4755e34927888709
2 files changed
tree: c8ffa3713bd28266de78b90ec0629b72d9833822
  1. apex/
  2. service/
  3. metrics_pdd_hook.py
  4. PREUPLOAD.cfg