Merge "Added support for customization of mobile data setting."

This commit is contained in:
Jean-Baptiste Queru
2012-06-12 07:48:52 -07:00
committed by android code review

View File

@@ -1460,7 +1460,13 @@ public class DatabaseHelper extends SQLiteOpenHelper {
"true".equalsIgnoreCase(
SystemProperties.get("ro.com.android.dataroaming",
"false")) ? 1 : 0);
// Mobile Data default, based on build
loadSetting(stmt, Settings.Secure.MOBILE_DATA,
"true".equalsIgnoreCase(
SystemProperties.get("ro.com.android.mobiledata",
"true")) ? 1 : 0);
loadBooleanSetting(stmt, Settings.Secure.INSTALL_NON_MARKET_APPS,
R.bool.def_install_non_market_apps);