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

Commit cfe1d388 authored by Sungcheol Ahn's avatar Sungcheol Ahn Committed by Automerger Merge Worker
Browse files

Merge "[Telephony] remove the RuntimeException thrown" am: 841bcc5b am: f01408d5

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2033543

Change-Id: I460bf0d115c38c1330039e71cb1c208f7314f5af
parents a6984e54 f01408d5
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) {