Revert "Enable the app to hide SIM import"
This reverts commit e8ad0868a66b3946a53c5a366642078688d122a8.
diff --git a/res/values/donottranslate_config.xml b/res/values/donottranslate_config.xml
index b36dbe1..79a2b29 100644
--- a/res/values/donottranslate_config.xml
+++ b/res/values/donottranslate_config.xml
@@ -124,10 +124,4 @@
<!-- Regular expression for prohibiting certain phone numbers in dialpad.
Ignored if empty. -->
<string name="config_prohibited_phone_number_regexp"></string>
-
- <!-- If true, enable the "import contacts from SIM" feature if the device
- has an appropriate SIM or ICC card.
- Setting this flag to false in a resource overlay allows you to
- entirely disable SIM import on a per-product basis. -->
- <bool name="config_allow_sim_import">true</bool>
</resources>
diff --git a/src/com/android/contacts/interactions/ImportExportDialogFragment.java b/src/com/android/contacts/interactions/ImportExportDialogFragment.java
index 7fdc47e..2eedfb3 100644
--- a/src/com/android/contacts/interactions/ImportExportDialogFragment.java
+++ b/src/com/android/contacts/interactions/ImportExportDialogFragment.java
@@ -87,8 +87,7 @@
}
};
- if (TelephonyManager.getDefault().hasIccCard()
- && res.getBoolean(R.bool.config_allow_sim_import)) {
+ if (TelephonyManager.getDefault().hasIccCard()) {
adapter.add(R.string.import_from_sim);
}
if (res.getBoolean(R.bool.config_allow_import_from_sdcard)) {