Merge "[Telephony] remove the RuntimeException thrown" am: 841bcc5b03 am: f01408d5e9

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

Change-Id: I460bf0d115c38c1330039e71cb1c208f7314f5af
This commit is contained in:
Sungcheol Ahn
2022-03-21 23:19:09 +00:00
committed by Automerger Merge Worker

View File

@@ -618,9 +618,9 @@ public class ImsMmTelManager implements RegistrationManager {
ITelephony iTelephony = getITelephony(); ITelephony iTelephony = getITelephony();
if (iTelephony == null) { if (iTelephony == null) {
throw new RuntimeException("Could not find Telephony Service."); Log.w("ImsMmTelManager", "Could not find Telephony Service.");
return;
} }
try { try {
iTelephony.unregisterMmTelCapabilityCallback(mSubId, c.getBinder()); iTelephony.unregisterMmTelCapabilityCallback(mSubId, c.getBinder());
} catch (RemoteException e) { } catch (RemoteException e) {