Skip to content

Commit f4ae6aa

Browse files
author
Wink Saville
committed
Allow CDMA on LTE devices to get data connections even if otasp is needed.
Bearer Independent Protocol (BIP) connections as defined in ETSI TS 102 223 "Smart Cards; Card Application Toolkit (CAT) (Release 11)" need to be able to establish data connections even when not provisioned. This can occur when trying to provision on via and EVDO network. Bug: 6110632 Change-Id: I85722e0ba2e2606ffcf2516b8f00be6ff5271adf
1 parent 33372b2 commit f4ae6aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

telephony/java/com/android/internal/telephony/cdma/CdmaDataConnectionTracker.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,8 @@ protected boolean isDataAllowed() {
226226
internalDataEnabled &&
227227
desiredPowerState &&
228228
!mPendingRestartRadio &&
229-
!mCdmaPhone.needsOtaServiceProvisioning();
229+
((mPhone.getLteOnCdmaMode() == Phone.LTE_ON_CDMA_TRUE) ||
230+
!mCdmaPhone.needsOtaServiceProvisioning());
230231
if (!allowed && DBG) {
231232
String reason = "";
232233
if (!((psState == ServiceState.STATE_IN_SERVICE) || mAutoAttachOnCreation)) {

0 commit comments

Comments
 (0)