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

Commit 844111fe authored by Richard Ross's avatar Richard Ross Committed by Gerrit Code Review
Browse files

CdmaLteServiceStateTracker: simultaneous voice and data support on CDMA (e.g: SVDO)

rebased from CM10 commit

Change-Id: I228802b3d2e258892f93e28dbf9dfed8ea8960d1
parent 065dd131
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ public class CdmaLteServiceStateTracker extends CdmaServiceStateTracker {
    private final CellInfoLte mCellInfoLte;

    private ServiceState  mLteSS;  // The last LTE state from Voice Registration

    private boolean getSVDO = SystemProperties.getBoolean(TelephonyProperties.PROPERTY_SVDATA, false);
    private CellIdentityLte mNewCellIdentityLte = new CellIdentityLte();
    private CellIdentityLte mLasteCellIdentityLte = new CellIdentityLte();

@@ -562,12 +562,14 @@ public class CdmaLteServiceStateTracker extends CdmaServiceStateTracker {
    @Override
    public boolean isConcurrentVoiceAndDataAllowed() {
        // For non-LTE, look at the CSS indicator to check on SV capability
        if (mRilRadioTechnology == ServiceState.RIL_RADIO_TECHNOLOGY_LTE) {
        if (mRilRadioTechnology == ServiceState.RIL_RADIO_TECHNOLOGY_LTE)
            return true;
        } else {
        else if ((getSVDO) && (mLteSS.getRadioTechnology() !=
                    ServiceState.RIL_RADIO_TECHNOLOGY_1xRTT))
            return true;
        else
            return ss.getCssIndicator() == 1;
    }
    }

    /**
     * Check whether the specified SID and NID pair appears in the HOME SID/NID list