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

Commit 4dcf1d2d authored by Ricardo Cerqueira's avatar Ricardo Cerqueira
Browse files

Revert "Telephony: Query GET_SIM_STATUS when radio state is OFF"

This reverts commit 0421294d, since
it only works with qualcomm vendor RILs, and even on those it creates
some derptastic behaviors like double PIN insertion when unlocking
a cryptfs

Change-Id: Icf1b440cf0d81d24ec24e5e909e71864d95fd9e2
parent defabee8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -217,8 +217,8 @@ public class UiccController extends Handler {
        mContext = c;
        mCi = ci;
        mCi.registerForIccStatusChanged(this, EVENT_ICC_STATUS_CHANGED, null);
        // This is needed so that we query for sim status in the case when we boot in APM
        mCi.registerForAvailable(this, EVENT_ICC_STATUS_CHANGED, null);
        // TODO remove this once modem correctly notifies the unsols
        mCi.registerForOn(this, EVENT_ICC_STATUS_CHANGED, null);
        mCi.registerForIccRefresh(this, EVENT_REFRESH, null);
    }