Merge "[Telephony] remove the RuntimeException thrown"
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user