ClientModeImpl: Defer country code updates while connecting

Currently, we defer country code updates when L2 connected. This however
leads to disruptions if the country code is changed while connecting to
a network. Some vendors internally defer these country code updates while
connecting, but for others this may abort ongoing connection attempt.
So, start deferring country coude while connecting centrally in
framework.

Bug: 171520991
Test: atest com.android.server.wifi
Change-Id: Ib5b6ba383793b71deca293459f0f97c9d5c00b71
2 files changed
tree: 76683233977cf56f796b3b56817765df1a67fd45
  1. apex/
  2. service/
  3. metrics_pdd_hook.py
  4. PREUPLOAD.cfg