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

Commit 44ddf672 authored by Robert Greenwalt's avatar Robert Greenwalt Committed by Android Partner Code Review
Browse files

Merge "Handle SIM Refresh for MSISDN, CFIS, CFF_CPHS" into m-wireless-dev

parents c04a910b fcc95e67
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -1270,6 +1270,24 @@ public class SIMRecords extends IccRecords {
                if (DBG) log("SIM Refresh called for EF_FDN");
                mParentApp.queryFdn();
                break;
            case EF_MSISDN:
                mRecordsToLoad++;
                log("SIM Refresh called for EF_MSISDN");
                new AdnRecordLoader(mFh).loadFromEF(EF_MSISDN, getExtFromEf(EF_MSISDN), 1,
                        obtainMessage(EVENT_GET_MSISDN_DONE));
                break;
            case EF_CFIS:
                mRecordsToLoad++;
                log("SIM Refresh called for EF_CFIS");
                mFh.loadEFLinearFixed(EF_CFIS,
                        1, obtainMessage(EVENT_GET_CFIS_DONE));
                break;
            case EF_CFF_CPHS:
                mRecordsToLoad++;
                log("SIM Refresh called for EF_CFF_CPHS");
                mFh.loadEFTransparent(EF_CFF_CPHS,
                        obtainMessage(EVENT_GET_CFF_DONE));
                break;
            default:
                // For now, fetch all records if this is not a
                // voicemail number.