HSDPA (High-Speed Downlink Packet Access) Contacts IMEI and MEID

Use PhoneType instead of Network type for IMEI or MEID
- change SpecialCharSequenceMgr to use PhoneType for the displaying
  IMEI for UMTS, MEID for CDMA
diff --git a/src/com/android/contacts/SpecialCharSequenceMgr.java b/src/com/android/contacts/SpecialCharSequenceMgr.java
index 3f2c304..644b66f 100644
--- a/src/com/android/contacts/SpecialCharSequenceMgr.java
+++ b/src/com/android/contacts/SpecialCharSequenceMgr.java
@@ -179,20 +179,13 @@
 
     static boolean handleIMEIDisplay(Context context, String input, boolean useSystemWindow) {
         if (input.equals(MMI_IMEI_DISPLAY)) {
-            int networkType = ((TelephonyManager)context.getSystemService(
-                    Context.TELEPHONY_SERVICE)).getNetworkType();
+            int phoneType = ((TelephonyManager)context.getSystemService(
+                    Context.TELEPHONY_SERVICE)).getPhoneType();
 
-            if (networkType == TelephonyManager.NETWORK_TYPE_GPRS ||
-                    networkType == TelephonyManager.NETWORK_TYPE_EDGE ||
-                    networkType == TelephonyManager.NETWORK_TYPE_UMTS) {
-
+            if (phoneType == TelephonyManager.PHONE_TYPE_GSM) {
                 showIMEIPanel(context, useSystemWindow);
                 return true;
-            } else if (networkType == TelephonyManager.NETWORK_TYPE_CDMA ||
-                         networkType == TelephonyManager.NETWORK_TYPE_EVDO_0 ||
-                         networkType == TelephonyManager.NETWORK_TYPE_EVDO_A ||
-                         networkType == TelephonyManager.NETWORK_TYPE_1xRTT) {
-
+            } else if (phoneType == TelephonyManager.PHONE_TYPE_CDMA) {
                 showMEIDPanel(context, useSystemWindow);
                 return true;
             }