am 9542969d: Merge "Delete Network mode setting menu in CDMALte Phone" into klp-dev
* commit '9542969d3b0bfc0c86c2838177378ae470bb0005':
Delete Network mode setting menu in CDMALte Phone
diff --git a/src/com/android/phone/MobileNetworkSettings.java b/src/com/android/phone/MobileNetworkSettings.java
index e4b4de6..66824dc 100644
--- a/src/com/android/phone/MobileNetworkSettings.java
+++ b/src/com/android/phone/MobileNetworkSettings.java
@@ -231,22 +231,10 @@
mCdmaOptions = new CdmaOptions(this, prefSet, mPhone);
mGsmUmtsOptions = new GsmUmtsOptions(this, prefSet);
} else {
- if (!isLteOnCdma) {
- prefSet.removePreference(mButtonPreferredNetworkMode);
- }
+ prefSet.removePreference(mButtonPreferredNetworkMode);
int phoneType = mPhone.getPhoneType();
if (phoneType == PhoneConstants.PHONE_TYPE_CDMA) {
mCdmaOptions = new CdmaOptions(this, prefSet, mPhone);
- if (isLteOnCdma) {
- mButtonPreferredNetworkMode.setOnPreferenceChangeListener(this);
- int settingsNetworkMode = android.provider.Settings.Global.getInt(
- mPhone.getContext().getContentResolver(),
- android.provider.Settings.Global.PREFERRED_NETWORK_MODE,
- preferredNetworkMode);
- mButtonPreferredNetworkMode.setValue(
- Integer.toString(settingsNetworkMode));
- }
-
} else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) {
mGsmUmtsOptions = new GsmUmtsOptions(this, prefSet);
} else {