Merge "Adds ALLOWED_NETWORK_TYPES_REASON_ENABLE_2G to PhoneInterfaceManager." into sc-dev
diff --git a/src/com/android/phone/PhoneInterfaceManager.java b/src/com/android/phone/PhoneInterfaceManager.java
index b790e39..85281d6 100755
--- a/src/com/android/phone/PhoneInterfaceManager.java
+++ b/src/com/android/phone/PhoneInterfaceManager.java
@@ -7374,6 +7374,9 @@
setAllowedNetworkTypesForReason(subId,
TelephonyManager.ALLOWED_NETWORK_TYPES_REASON_POWER,
RadioAccessFamily.getRafFromNetworkType(getDefaultNetworkType(subId)));
+ setAllowedNetworkTypesForReason(subId,
+ TelephonyManager.ALLOWED_NETWORK_TYPES_REASON_ENABLE_2G,
+ RadioAccessFamily.getRafFromNetworkType(getDefaultNetworkType(subId)));
setDataRoamingEnabled(subId, getDefaultDataRoamingEnabled(subId));
CarrierInfoManager.deleteAllCarrierKeysForImsiEncryption(mApp);
}