Add the optional country code update during SUW
Add the country code update based on the wifi scan results when all following conditions are met
1) There is no telephony country code
2) The driver country code is empty or "00"
3) Thd device is disconnected from wifi
4) All country codes from the qualified scan results are the same
5) There are multiple scan results with country codes
6) The setup wizard is running and the following overly is true
config_wifiUpdateCountryCodeFromScanResultSetupWizard. Note that this
overlay is false by default.
Updated-Overlayable: TRUE
Bug: 267944733
Test: atest WifiCountryCodeTest
Test: manual with various wifi network
Change-Id: I79ae5846100142c7834d5fec45d82a4aead31198
7 files changed