[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

Change-Id: I050d4affd403604bdae21ef3bc7f9ddf93ffa9e4
This commit is contained in:
donaldahn
2022-03-02 03:39:22 +00:00
committed by Sungcheol Ahn
parent 90551440a0
commit 644906d682

View File

@@ -619,9 +619,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) {