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

Commit e8d3dd90 authored by markcs's avatar markcs
Browse files

UiccController: Query GET_SIM_STATUS when radio state is ON

mCi.registerForAvailable resulted in the SIM query firing off
too quickly and resulted in the SIM initially being identifed
as ABSENT.

Change-Id: Iaef6ffe1315560262e19ebacd304716982bb8174
parent b9f3d1ea
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -263,7 +263,7 @@ public class UiccController extends Handler {
        mContext = c;
        mCi = ci;
        mCi.registerForIccStatusChanged(this, EVENT_ICC_STATUS_CHANGED, null);
        mCi.registerForAvailable(this, EVENT_ICC_STATUS_CHANGED, null);
        mCi.registerForOn(this, EVENT_ICC_STATUS_CHANGED, null);
        mCi.registerForNotAvailable(this, EVENT_RADIO_UNAVAILABLE, null);
        mCi.registerForIccRefresh(this, EVENT_REFRESH, null);
    }