Loading src/com/android/server/telecom/CallsManager.java +5 −3 Original line number Diff line number Diff line Loading @@ -2848,11 +2848,13 @@ public class CallsManager extends Call.ListenerBase return false; } // Disconnected the live call if the outgoing call is an emergency call. if (isEmergency && !canHold(liveCall)) { // If we have the max number of held managed calls and we're placing an emergency call, // we'll disconnect the ongoing call if it cannot be held. if (hasMaximumManagedHoldingCalls(call) && isEmergency && !canHold(liveCall)) { call.getAnalytics().setCallIsAdditional(true); liveCall.getAnalytics().setCallIsInterrupted(true); liveCall.disconnect("emergency, can't hold"); liveCall.disconnect("disconnecting to make room for emergency call " + call.getId()); return true; } Loading Loading
src/com/android/server/telecom/CallsManager.java +5 −3 Original line number Diff line number Diff line Loading @@ -2848,11 +2848,13 @@ public class CallsManager extends Call.ListenerBase return false; } // Disconnected the live call if the outgoing call is an emergency call. if (isEmergency && !canHold(liveCall)) { // If we have the max number of held managed calls and we're placing an emergency call, // we'll disconnect the ongoing call if it cannot be held. if (hasMaximumManagedHoldingCalls(call) && isEmergency && !canHold(liveCall)) { call.getAnalytics().setCallIsAdditional(true); liveCall.getAnalytics().setCallIsInterrupted(true); liveCall.disconnect("emergency, can't hold"); liveCall.disconnect("disconnecting to make room for emergency call " + call.getId()); return true; } Loading