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

Commit 3ec914cf authored by Richard Ross's avatar Richard Ross
Browse files

cdma: Restore SVDO after merge.

Allow evdo/ehrpd + voice simutaneously.
Use ro.ril.svdo=true

Change-Id: If7be25edc10f21680adbe3a059370d77a82ef076
parent 45f7396d
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -518,9 +518,16 @@ public class CdmaLteServiceStateTracker extends CdmaServiceStateTracker {

    @Override
    public boolean isConcurrentVoiceAndDataAllowed() {
        // Using the Conncurrent Service Supported flag for CdmaLte devices.
        // For LTE set true, else if the SVDO property is set, else use the CSS indicator to
        // check for concurrent voice and data capability
        if (mSS.getRilDataRadioTechnology() == ServiceState.RIL_RADIO_TECHNOLOGY_LTE) {
            return true;
        } else if (SystemProperties.getBoolean(TelephonyProperties.PROPERTY_SVDO, false)) {
            return true;
        } else {
            return mSS.getCssIndicator() == 1;
        }
    }

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