WifiSettingStore: Migrate to settings config store
Migrate all @hide Settings.Global flags to the new wifi settings
store. There is a one time migration performed for all the
existing keys in Settings to Shared preferences (triggered if
nothing exists in our shared preferences on bootup).
Also, move the WifiConfigManager.loadFromConfigStore() earler in the
boot sequence to allow the read of "scan always available" setting when
wifi is started.
Bug: 148514485
Test: atest com.android.server.wifi
Test: Device boots up and connects to wifi networks.
Test: Manual inspection of the config store file after migration.
Test: Will verify with presubmit ACTS tests.
Change-Id: Ie52494d688106f7e09ea4b9f7933dfa0f6b1dc95
16 files changed