Skip to content

Commit 81e3e47

Browse files
etancohenAndroid (Google) Code Review
authored andcommitted
Merge "Add TD_SCDMA RAT type (already exists in RIL) and classify as CDMA." into lmp-dev
2 parents 5c6756f + 6415fba commit 81e3e47

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

telephony/java/android/telephony/ServiceState.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ public class ServiceState implements Parcelable {
146146
* @hide
147147
*/
148148
public static final int RIL_RADIO_TECHNOLOGY_GSM = 16;
149+
/** @hide */
150+
public static final int RIL_RADIO_TECHNOLOGY_TD_SCDMA = 17;
149151

150152
/**
151153
* Available registration states for GSM, UMTS and CDMA.
@@ -859,6 +861,7 @@ public static boolean isCdma(int radioTechnology) {
859861
|| radioTechnology == RIL_RADIO_TECHNOLOGY_EVDO_0
860862
|| radioTechnology == RIL_RADIO_TECHNOLOGY_EVDO_A
861863
|| radioTechnology == RIL_RADIO_TECHNOLOGY_EVDO_B
862-
|| radioTechnology == RIL_RADIO_TECHNOLOGY_EHRPD;
864+
|| radioTechnology == RIL_RADIO_TECHNOLOGY_EHRPD
865+
|| radioTechnology == RIL_RADIO_TECHNOLOGY_TD_SCDMA;
863866
}
864867
}

0 commit comments

Comments
 (0)