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

Commit 8aa95ba1 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Fix call disconnect issue in LTE->1x CSFB."

parents 09765960 44f9579c
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -576,6 +576,18 @@ public class CdmaLteServiceStateTracker extends CdmaServiceStateTracker {
        }
    }

    @Override
    protected void updatePhoneObject() {
        int voiceRat = mSS.getRilVoiceRadioTechnology();
        // For CDMA-LTE phone don't update phone to LTE.
        // If there is a  real need to switch to LTE, then it will be done via
        // RIL_UNSOL_VOICE_RADIO_TECH_CHANGED from RIL.
        if (voiceRat == ServiceState.RIL_RADIO_TECHNOLOGY_LTE) {
            voiceRat = ServiceState.RIL_RADIO_TECHNOLOGY_1xRTT;
        }
        mPhoneBase.updatePhoneObject(voiceRat);
    }

    @Override
    protected void log(String s) {
        Rlog.d(LOG_TAG, "[CdmaLteSST] " + s);