settingsconfigcyanogenmod

Where in the source code CyanogenMod stores default values of “Mobile data” and “Data roaming” settings?


In what configure file(s) in the source code CyanogenMod 12.1 stores global (not overlay) default values of “Mobile data” and “Data roaming” settings?


Solution

  • In the CyanogenMod/android_frameworks_base/packages/SettingsProvider/res/values/customize.xml file:

    <!-- Default for Settings.Global.DATA_ROAMING -->
    <bool name="def_enable_data_roaming">false</bool>
    
    <!-- Default for Settings.Global.MOBILE_DATA -->
    <bool name="def_enable_mobile_data">true</bool>