diff options
author | Junda Liu <junda@google.com> | 2014-11-07 11:18:02 -0800 |
---|---|---|
committer | Junda Liu <junda@google.com> | 2014-11-07 12:11:52 -0800 |
commit | bbdc1c0e044a505d5a200963319a683e4ef1f967 (patch) | |
tree | d93cfcef8980fe13cb87a9e1c53c7ba1b2caaa06 /packages/SettingsProvider | |
parent | ee990413b51b41e4fe8940cba703bdfb56a12018 (diff) | |
download | frameworks_base-bbdc1c0e044a505d5a200963319a683e4ef1f967.zip frameworks_base-bbdc1c0e044a505d5a200963319a683e4ef1f967.tar.gz frameworks_base-bbdc1c0e044a505d5a200963319a683e4ef1f967.tar.bz2 |
Add HIDE_CARRIER_NETWORK_SETTINGS global setting.
Also remove hidden APIs to get/set the preference.
Bug: b/17673255
Change-Id: I8957b0380bf617c953f6665cbfdcc77c3be78411
Diffstat (limited to 'packages/SettingsProvider')
-rw-r--r-- | packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java b/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java index eea97ea..5cb2306 100644 --- a/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java +++ b/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java @@ -2584,6 +2584,9 @@ public class DatabaseHelper extends SQLiteOpenHelper { // Set default cdma call auto retry loadSetting(stmt, Settings.Global.CALL_AUTO_RETRY, 0); + // Set default simplified carrier network settings to 0 + loadSetting(stmt, Settings.Global.HIDE_CARRIER_NETWORK_SETTINGS, 0); + // Set the preferred network mode to target desired value or Default // value defined in RILConstants int type; |