diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index 2ba9eaca7f08f..582b816754b47 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -5224,24 +5224,6 @@ public class TelephonyManager { return null; } - /** - * Determines if emergency calling is allowed for the MMTEL feature on the slot provided. - * @param slotIndex The SIM slot of the MMTEL feature - * @return true if emergency calling is allowed, false otherwise. - * @hide - */ - public boolean isEmergencyMmTelAvailable(int slotIndex) { - try { - ITelephony telephony = getITelephony(); - if (telephony != null) { - return telephony.isEmergencyMmTelAvailable(slotIndex); - } - } catch (RemoteException e) { - Rlog.e(TAG, "isEmergencyMmTelAvailable, RemoteException: " + e.getMessage()); - } - return false; - } - /** * @return true if the IMS resolver is busy resolving a binding and should not be considered * available, false if the IMS resolver is idle. diff --git a/telephony/java/com/android/internal/telephony/ITelephony.aidl b/telephony/java/com/android/internal/telephony/ITelephony.aidl index 18c69ac728679..570248725f70e 100644 --- a/telephony/java/com/android/internal/telephony/ITelephony.aidl +++ b/telephony/java/com/android/internal/telephony/ITelephony.aidl @@ -816,12 +816,6 @@ interface ITelephony { */ IImsConfig getImsConfig(int slotId, int feature); - /** - * Returns true if emergency calling is available for the MMTEL feature associated with the - * slot specified. - */ - boolean isEmergencyMmTelAvailable(int slotId); - /** * @return true if the IMS resolver is busy resolving a binding and should not be considered * available, false if the IMS resolver is idle.