Loading src/java/com/android/internal/telephony/imsphone/ImsPhoneCallTracker.java +8 −3 Original line number Diff line number Diff line Loading @@ -161,10 +161,15 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall { // If there is an active call. if (mForegroundCall.hasConnections()) { ImsCall activeCall = mForegroundCall.getFirstConnection().getImsCall(); if (activeCall != null && imsCall != null) { // activeCall could be null if the foreground call is in a disconnected // state. If either of the calls is null there is no need to check if // one will be disconnected on answer. boolean answeringWillDisconnect = shouldDisconnectActiveCallOnAnswer(activeCall, imsCall); conn.setActiveCallDisconnectedOnAnswer(answeringWillDisconnect); } } conn.setAllowAddCallDuringVideoCall(mAllowAddCallDuringVideoCall); addConnection(conn); Loading Loading
src/java/com/android/internal/telephony/imsphone/ImsPhoneCallTracker.java +8 −3 Original line number Diff line number Diff line Loading @@ -161,10 +161,15 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall { // If there is an active call. if (mForegroundCall.hasConnections()) { ImsCall activeCall = mForegroundCall.getFirstConnection().getImsCall(); if (activeCall != null && imsCall != null) { // activeCall could be null if the foreground call is in a disconnected // state. If either of the calls is null there is no need to check if // one will be disconnected on answer. boolean answeringWillDisconnect = shouldDisconnectActiveCallOnAnswer(activeCall, imsCall); conn.setActiveCallDisconnectedOnAnswer(answeringWillDisconnect); } } conn.setAllowAddCallDuringVideoCall(mAllowAddCallDuringVideoCall); addConnection(conn); Loading