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

Commit 1ec97cd7 authored by Decad3nce's avatar Decad3nce Committed by Gerrit Code Review
Browse files

SamsungCDMAQualcommRIL: Switch to CDMA subscription.

	- Utilize CDMA stack, allows shared RIL to handle subscriptions.
	- Fixes ICCID registering in About Phone.
	- Roaming works.
	- Everything, theoretically, works compared to gsm stack.

Change-Id: Ia96b9381df9358bb4a91710ba3092e64ced84025
parent db70e7a6
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -94,21 +94,6 @@ CommandsInterface {
            p.readInt(); // - perso_unblock_retries
            status.addApplication(ca);
        }
        int appIndex = -1;
        appIndex = status.getGsmUmtsSubscriptionAppIndex();
        Log.d(LOG_TAG, "This is a CDMA PHONE " + appIndex);

        if (numApplications > 0) {
            IccCardApplication application = status.getApplication(appIndex);
            mAid = application.aid;
            mUSIM = application.app_type == IccCardApplication.AppType.APPTYPE_USIM;
            mSetPreferredNetworkType = mPreferredNetworkType;

            if (TextUtils.isEmpty(mAid))
                mAid = "";
            Log.d(LOG_TAG, "mAid " + mAid);
        }

        return status;
    }