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

Commit ab557394 authored by Amit Mahajan's avatar Amit Mahajan
Browse files

Update mRecordsRequested on sending request instead of onLocked.

Bug: 17668819
Change-Id: Ib982149c665258dba8fbb4b58a35449b40529913
parent 1de01965
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++;