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

Commit 74250c9c authored by Tyler Gunn's avatar Tyler Gunn Committed by android-build-merger
Browse files

Merge "Do not notify of WIFI to LTE handover for disconnected call."

am: cbe33053

Change-Id: I66ae1304a320e7762191382c5bbd609e727742f6
parents a6f4ff69 cbe33053
Loading
Loading
Loading
Loading
+11 −3
Original line number Diff line number Diff line
@@ -2567,9 +2567,17 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall {
                                && targetAccessTech != ServiceState.RIL_RADIO_TECHNOLOGY_IWLAN;
                if (isHandoverFromWifi && imsCall.isVideoCall()) {
                    if (mNotifyHandoverVideoFromWifiToLTE && mIsDataEnabled) {
                        if (conn.getDisconnectCause() == DisconnectCause.NOT_DISCONNECTED) {
                            log("onCallHandover :: notifying of WIFI to LTE handover.");
                            conn.onConnectionEvent(
                                    TelephonyManager.EVENT_HANDOVER_VIDEO_FROM_WIFI_TO_LTE, null);
                        } else {
                            // Call has already had a disconnect request issued by the user or is
                            // in the process of disconnecting; do not inform the UI of this as it
                            // is not relevant.
                            log("onCallHandover :: skip notify of WIFI to LTE handover for "
                                    + "disconnected call.");
                        }
                    }

                    if (!mIsDataEnabled && mIsViLteDataMetered) {