Change default CDMA roaming preference to enabled.
Bug: 17563431
Change-Id: I4afd0926ab3f5239e6685ae4c1e7bbae0a836346
diff --git a/src/com/android/phone/CdmaSystemSelectListPreference.java b/src/com/android/phone/CdmaSystemSelectListPreference.java
index d291fd7..5a001de 100644
--- a/src/com/android/phone/CdmaSystemSelectListPreference.java
+++ b/src/com/android/phone/CdmaSystemSelectListPreference.java
@@ -158,13 +158,13 @@
private void resetCdmaRoamingModeToDefault() {
//set the mButtonCdmaRoam
- setValue(Integer.toString(Phone.CDMA_RM_HOME));
+ setValue(Integer.toString(Phone.CDMA_RM_ANY));
//set the Settings.System
Settings.Global.putInt(mPhone.getContext().getContentResolver(),
Settings.Global.CDMA_ROAMING_MODE,
- Phone.CDMA_RM_HOME );
+ Phone.CDMA_RM_ANY );
//Set the Status
- mPhone.setCdmaRoamingPreference(Phone.CDMA_RM_HOME,
+ mPhone.setCdmaRoamingPreference(Phone.CDMA_RM_ANY,
obtainMessage(MyHandler.MESSAGE_SET_ROAMING_PREFERENCE));
}
}