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

Commit b40f09bc authored by Brad Ebinger's avatar Brad Ebinger Committed by Gerrit Code Review
Browse files

Merge "Null check IMS calls in shouldDisconnectActiveCallOnAnswer"

parents 669f790a 50a6eae6
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2949,6 +2949,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;
        }