Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 50a1a205 authored by Brad Ebinger's avatar Brad Ebinger Committed by android-build-merger
Browse files

Merge "Null check IMS calls in shouldDisconnectActiveCallOnAnswer" am: b40f09bc am: 84835fe2

am: 431f50d7

Change-Id: Id8db8b06e41d7d2de0329ebd3ea473e56fce8b01
parents 84a1dc18 431f50d7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2973,6 +2973,10 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall {
    private boolean shouldDisconnectActiveCallOnAnswer(ImsCall activeCall,
            ImsCall incomingCall) {

        if (activeCall == null || incomingCall == null) {
            return false;
        }

        if (!mDropVideoCallWhenAnsweringAudioCall) {
            return false;
        }