diff options
author | Adnan Begovic <adnan@cyngn.com> | 2015-11-10 14:15:12 -0800 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-11-10 14:15:12 -0800 |
commit | b006e980e73b60a71139fda3c4fb9e6e1f97d9c8 (patch) | |
tree | 4e196d2789357ec04566ad96be4f4d787480d690 /packages | |
parent | dac1c3eac168916677bcf7c28b24fb12e7d3593d (diff) | |
download | vendor_cmsdk-b006e980e73b60a71139fda3c4fb9e6e1f97d9c8.zip vendor_cmsdk-b006e980e73b60a71139fda3c4fb9e6e1f97d9c8.tar.gz vendor_cmsdk-b006e980e73b60a71139fda3c4fb9e6e1f97d9c8.tar.bz2 |
cmsdk: Move WIFI_AUTO_CONNECT_TYPE to CMSettings.
Change-Id: I3a0447006d29cc8d2b1bbed6f841ce9ae55be94f
Diffstat (limited to 'packages')
-rw-r--r-- | packages/CMSettingsProvider/src/org/cyanogenmod/cmsettings/CMSettingsProvider.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/CMSettingsProvider/src/org/cyanogenmod/cmsettings/CMSettingsProvider.java b/packages/CMSettingsProvider/src/org/cyanogenmod/cmsettings/CMSettingsProvider.java index b478a6e..00b3574 100644 --- a/packages/CMSettingsProvider/src/org/cyanogenmod/cmsettings/CMSettingsProvider.java +++ b/packages/CMSettingsProvider/src/org/cyanogenmod/cmsettings/CMSettingsProvider.java @@ -571,6 +571,15 @@ public class CMSettingsProvider extends ContentProvider { */ public static final String DIALER_OPENCNAM_AUTH_TOKEN = CMSettings.System.DIALER_OPENCNAM_AUTH_TOKEN; + + /** + * Whether wifi settings will connect to access point automatically + * 0 = automatically + * 1 = manually + * @hide + */ + public static final String WIFI_AUTO_CONNECT_TYPE = + CMSettings.System.WIFI_AUTO_CONNECT_TYPE; } /** @@ -653,6 +662,8 @@ public class CMSettingsProvider extends ContentProvider { CMSettings.System.DIALER_OPENCNAM_ACCOUNT_SID); systemToCmSettingsMap.put(LegacyCMSettings.DIALER_OPENCNAM_AUTH_TOKEN, CMSettings.System.DIALER_OPENCNAM_AUTH_TOKEN); + systemToCmSettingsMap.put(LegacyCMSettings.WIFI_AUTO_CONNECT_TYPE, + CMSettings.System.WIFI_AUTO_CONNECT_TYPE); int rowsMigrated = migrateCMSettingsForTable(userId, CMDatabaseHelper.CMTableNames.TABLE_SYSTEM, systemToCmSettingsMap); |