From 844111fe25ce47164d271436209b8199a263c64d Mon Sep 17 00:00:00 2001 From: Richard Ross <toastcfh@gmail.com> Date: Sun, 22 Jul 2012 19:12:20 -0400 Subject: CdmaLteServiceStateTracker: simultaneous voice and data support on CDMA (e.g: SVDO) rebased from CM10 commit Change-Id: I228802b3d2e258892f93e28dbf9dfed8ea8960d1 --- .../internal/telephony/cdma/CdmaLteServiceStateTracker.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/java/com') diff --git a/src/java/com/android/internal/telephony/cdma/CdmaLteServiceStateTracker.java b/src/java/com/android/internal/telephony/cdma/CdmaLteServiceStateTracker.java index 8ec41e3..b4a5dc7 100644 --- a/src/java/com/android/internal/telephony/cdma/CdmaLteServiceStateTracker.java +++ b/src/java/com/android/internal/telephony/cdma/CdmaLteServiceStateTracker.java @@ -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,11 +562,13 @@ 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; - } } /** -- cgit v1.1