Adds API to query emergency over MMTEL support

Adds an API to allow telephony to query emergency
calling over MMTEL support. If false, all emergency
calls will go over ciruit switch instead.

Bug: 72642113
Test: Manual, Telephony Unit Tests
Change-Id: Ia1f2356ab167153a750155dcae7660c392a47df4
diff --git a/src/com/android/phone/PhoneInterfaceManager.java b/src/com/android/phone/PhoneInterfaceManager.java
index cb45eb0..0be816a 100644
--- a/src/com/android/phone/PhoneInterfaceManager.java
+++ b/src/com/android/phone/PhoneInterfaceManager.java
@@ -2673,6 +2673,14 @@
         return PhoneFactory.getImsResolver().getImsConfig(slotId, feature);
     }
 
+    /**
+     * @return true if emergency calling is available on IMS, false if it should fallback to CS.
+     */
+    public boolean isEmergencyMmTelAvailable(int slotId) {
+        enforceModifyPermission();
+        return PhoneFactory.getImsResolver().isEmergencyMmTelAvailable(slotId);
+    }
+
     public void setImsRegistrationState(boolean registered) {
         enforceModifyPermission();
         mPhone.setImsRegistrationState(registered);