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

Commit 22e3d139 authored by Alex Yakavenka's avatar Alex Yakavenka
Browse files

Telephony: Request for sim_status even if there is no UNSL_SIM_STATUS_CHANGED

Some radios/rils lose initial UNSOL_SIM_STATUS_CHANGED indication
(because Telephony wasn't connected to rild when the event happened).
Query for sim_status on power_on.

Bug: 7116148
Change-Id: I448f1b939837a61b7b060068ea1062947a5f6138
parent 713a658e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -196,7 +196,7 @@ public class UiccController extends Handler {
        mCi = ci;
        mCi.registerForIccStatusChanged(this, EVENT_ICC_STATUS_CHANGED, null);
        // TODO remove this once modem correctly notifies the unsols
        //mCi.registerForOn(this, EVENT_ICC_STATUS_CHANGED, null);
        mCi.registerForOn(this, EVENT_ICC_STATUS_CHANGED, null);
    }

    private synchronized void onGetIccCardStatusDone(AsyncResult ar) {