Merge "[Telephony] remove the RuntimeException thrown" am: 841bcc5b03 am: f01408d5e9 am: cfe1d3881c am: a4caf5c716
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2033543 Change-Id: I1fcdaf5253befd33e7425f12e45b4108e46a5537
This commit is contained in:
@@ -621,9 +621,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) {
|
||||
|
||||
Reference in New Issue
Block a user