Use getProfileKey() in network Selection

Update all matched suggestion into WifiConfigmanager when scanResult
availbale. This will help keep the config updated with suggestion changes.

Also fill in the SubScription Id before adding/updating suggestion into WifiConfigmanager, to make the profile Key correct.

Bug: 142035508
Test: atest com.android.server.wifi
Change-Id: I85af5c84a02a0187a7ef690ca6db6439c9051b6e
10 files changed
tree: 14f2ad27be8f3056a37ffed991730faf2d4311e1
  1. apex/
  2. service/
  3. metrics_pdd_hook.py
  4. PREUPLOAD.cfg