WifiServiceImpl: Return WifiInfo for secondary CMM if necessary

To provide backwards compatibilty in the deprecated
WifiManager.getConnectionInfo() API surface, if an app triggered the
creation of a secondary STA return that STA info to the same app via
this API (all other apps get the primary STA info).

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