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

Commit 3965c152 authored by Ajay Nambi's avatar Ajay Nambi
Browse files

Telephony: Look for CSS indicator for voice+data

For non-LTE, use the CSS field of VOICE_REGISTRATION_STATE to determine
if the modem supports simultaneous voice+data.

Change-Id: I546c939f325a6e3b09d563e32d45412910401422
parent ec1ecc09
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -492,10 +492,12 @@ public class CdmaLteServiceStateTracker extends CdmaServiceStateTracker {

    @Override
    public boolean isConcurrentVoiceAndDataAllowed() {
        // Note: it needs to be confirmed which CDMA network types
        // can support voice and data calls concurrently.
        // For the time-being, the return value will be false.
        return (mRilRadioTechnology == ServiceState.RIL_RADIO_TECHNOLOGY_LTE);
        // For non-LTE, look at the CSS indicator to check on SV capability
        if (mRilRadioTechnology == ServiceState.RIL_RADIO_TECHNOLOGY_LTE) {
            return true;
        } else {
            return ss.getCssIndicator() == 1;
        }
    }

    /**