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

Commit d9089001 authored by Shareef Ali's avatar Shareef Ali Committed by Gerrit Code Review
Browse files

Merge "DcTracker: Only retrieve records when we're either RUIM or CdmaLte AND...

Merge "DcTracker: Only retrieve records when we're either RUIM or CdmaLte AND subscribing from NV" into cm-10.2
parents 6c2261dc 5fa3fa39
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -171,11 +171,11 @@ public class IccCardProxy extends Handler implements IccCard {

        if (mCurrentAppType == UiccController.APP_FAM_3GPP2) {
            int newSubscriptionSource = mCdmaSSM.getCdmaSubscriptionSource();
            // allow ruim to fetch in cdma lte mode, don't do it for devices don't have lte
            // in nv mode. fixes cases where it iccid could be unknown on some cdma nv devices.
            // Allow both RUIM and CdmaLte from NV to trigger records
            // required
            if (newSubscriptionSource == CdmaSubscriptionSourceManager.SUBSCRIPTION_FROM_RUIM
                || PhoneFactory.getDefaultPhone().getLteOnCdmaMode()
                == PhoneConstants.LTE_ON_CDMA_TRUE) {
                || ((PhoneFactory.getDefaultPhone().getLteOnCdmaMode()
                == PhoneConstants.LTE_ON_CDMA_TRUE) && (newSubscriptionSource == CdmaSubscriptionSourceManager.SUBSCRIPTION_FROM_NV))) {
                // Set this as the Active record.
                log("Setting Ruim Record as active");
                mIccRecords.recordsRequired();