Merge "[Telephony] remove the RuntimeException thrown"

This commit is contained in:
Sungcheol Ahn
2022-03-21 22:41:48 +00:00
committed by Gerrit Code Review

View File

@@ -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) {