Avoid setting the UCC for new networks

Do this because the user could be just adding a network, but
do not want to prioritize connecting to it in the future.

Also, moved the setting of UCC from after L2 connection to after L3
connection is successful.

Bug: 172096473
Test: atest com.android.server.wifi
Change-Id: I07d314213b5c41ca9b482dccc5b2a09fa4140ed4
4 files changed
tree: 78ad77c0edf1707db2e3e5540e997bf8e59d3881
  1. apex/
  2. service/
  3. metrics_pdd_hook.py
  4. PREUPLOAD.cfg