Skip to content

Commit 2a0eed2

Browse files
Wink SavilleAndroid Git Automerger
authored andcommitted
am 442612a: am f4ae6aa: Allow CDMA on LTE devices to get data connections even if otasp is needed.
* commit '442612a273981a1b21fdb2e9c19a887ab710224d': Allow CDMA on LTE devices to get data connections even if otasp is needed.
2 parents ea37409 + 442612a commit 2a0eed2

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)