Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b347e47a authored by donaldahn's avatar donaldahn
Browse files

[Telephony] remove the RuntimeException thrown

Bug: 196880723
Test: ATP apct/device_boot_health_check_extra
      TMUS-Repeated test to unregistermmtel after registration.
          Volte dials/disconnects, airplane mode on/off,
          Sim removed, power on/off

Merged-In: I050d4affd403604bdae21ef3bc7f9ddf93ffa9e4
Change-Id: I16ebfe7edb13e950afd835d64691d740b11cbcdc
parent 012ace16
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -618,9 +618,9 @@ public class ImsMmTelManager implements RegistrationManager {

        ITelephony iTelephony = getITelephony();
        if (iTelephony == null) {
            throw new RuntimeException("Could not find Telephony Service.");
            Log.w("ImsMmTelManager", "Could not find Telephony Service.");
            return;
        }

        try {
            iTelephony.unregisterMmTelCapabilityCallback(mSubId, c.getBinder());
        } catch (RemoteException e) {