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

Commit a78f02ec authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Bypass WiFi Only WFC check if this is an emergency call" into sc-dev

parents d083fcc2 2fe95299
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -1392,7 +1392,11 @@ public class GsmCdmaPhone extends Phone {
                    + ((imsPhone != null) ? imsPhone.getServiceState().getState() : "N/A"));
        }

        // Bypass WiFi Only WFC check if this is an emergency call - we should still try to
        // place over cellular if possible.
        if (!isEmergency) {
            Phone.checkWfcWifiOnlyModeBeforeDial(mImsPhone, mPhoneId, mContext);
        }
        if (imsPhone != null && !allowWpsOverIms && !useImsForCall && isWpsCall
                && imsPhone.getCallTracker() instanceof ImsPhoneCallTracker) {
            logi("WPS call placed over CS; disconnecting all IMS calls..");