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

Commit 33b32317 authored by Amit Mahajan's avatar Amit Mahajan Committed by Android (Google) Code Review
Browse files

Merge "Update mRecordsRequested on sending request instead of onLocked." into lmp-dev

parents 8574e746 ab557394
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1505,13 +1505,13 @@ public class SIMRecords extends IccRecords {
    }

    private void onLocked() {
        mRecordsRequested = true;
        if (DBG) log("only fetch EF_LI and EF_PL in lock state");
        loadEfLiAndEfPl();
    }

    private void loadEfLiAndEfPl() {
        if (mParentApp.getType() == AppType.APPTYPE_USIM) {
            mRecordsRequested = true;
            mFh.loadEFTransparent(EF_LI,
                    obtainMessage(EVENT_GET_ICC_RECORD_DONE, new EfUsimLiLoaded()));
            mRecordsToLoad++;