Loading res/values/donottranslate_config.xml +0 −6 Original line number Diff line number Diff line Loading @@ -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> src/com/android/contacts/interactions/ImportExportDialogFragment.java +1 −2 Original line number Diff line number Diff line Loading @@ -87,8 +87,7 @@ public class ImportExportDialogFragment extends DialogFragment } }; 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)) { Loading Loading
res/values/donottranslate_config.xml +0 −6 Original line number Diff line number Diff line Loading @@ -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>
src/com/android/contacts/interactions/ImportExportDialogFragment.java +1 −2 Original line number Diff line number Diff line Loading @@ -87,8 +87,7 @@ public class ImportExportDialogFragment extends DialogFragment } }; 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)) { Loading