/**
  * Returns the current phone type. TODO: This is a last minute change and hence hidden.
  *
  * @see #PHONE_TYPE_NONE
  * @see #PHONE_TYPE_GSM
  * @see #PHONE_TYPE_CDMA
  * @see #PHONE_TYPE_SIP
  *     <p>{@hide}
  */
 public int getCurrentPhoneType() {
   try {
     ITelephony telephony = getITelephony();
     if (telephony != null) {
       return telephony.getActivePhoneType();
     } else {
       // This can happen when the ITelephony interface is not up yet.
       return getPhoneTypeFromProperty();
     }
   } catch (RemoteException ex) {
     // This shouldn't happen in the normal case, as a backup we
     // read from the system property.
     return getPhoneTypeFromProperty();
   } catch (NullPointerException ex) {
     // This shouldn't happen in the normal case, as a backup we
     // read from the system property.
     return getPhoneTypeFromProperty();
   }
 }