Revert "Fix not display the FDN menu if a SIM doesn't support FDN"
This reverts commit 6be967adfbe19f8e5d36a517fbd4f9923ede1dc3.
Reason for revert: b/77244267 (build break)
Change-Id: I073f5aba8983455f035b7f8027feaf6ba1f83e27
Fixes: 77244267
Bug: 65041818
diff --git a/src/com/android/phone/CallFeaturesSetting.java b/src/com/android/phone/CallFeaturesSetting.java
index fd85585..8da980c 100644
--- a/src/com/android/phone/CallFeaturesSetting.java
+++ b/src/com/android/phone/CallFeaturesSetting.java
@@ -281,9 +281,7 @@
addPreferencesFromResource(R.xml.cdma_call_privacy);
}
} else if (phoneType == PhoneConstants.PHONE_TYPE_GSM) {
- if (mPhone.getIccCard() == null || !mPhone.getIccCard().getIccFdnAvailable()) {
- prefSet.removePreference(fdnButton);
- }
+
if (carrierConfig.getBoolean(
CarrierConfigManager.KEY_ADDITIONAL_CALL_SETTING_BOOL)) {
addPreferencesFromResource(R.xml.gsm_umts_call_options);