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

Commit b9fa15f2 authored by Amit Mahajan's avatar Amit Mahajan Committed by Android Git Automerger
Browse files

am 33b32317: Merge "Update mRecordsRequested on sending request instead of onLocked." into lmp-dev

* commit '33b32317':
  Update mRecordsRequested on sending request instead of onLocked.
parents ed9c051a 33b32317
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++;