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

Commit 9f1289b0 authored by Sungcheol Ahn's avatar Sungcheol Ahn Committed by Android (Google) Code Review
Browse files

Merge "[Telephony] remove the RuntimeException thrown"

parents 6726af8d 644906d6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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) {