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

Skip to content
Commit d4397df4 authored by Wink Saville's avatar Wink Saville
Browse files

If there is no IccFileHandler do not change sIccId[slotId].

In our master branch with a Sprint SIM I found that the call to
getIccFileHandler in queryIccId is returning null when  sReceiver
receives a ACTION_SIM_STATE_CHANGED with a simStatus of
INTENT_VALUE_ICC_READY.

This causes queryIccId to set sIid[slotId] to ICCID_STRING_FOR_NO_SIM
and thus never get updated. Which causes addSubInfoRecord to never be
called so there is no Subscriptions.

The most obvious problem this causes is an Empty Triangle for the SSI
Icon.

This fix is to not change sIccId[slotId], instead it will be updated
when the sReceiver gets a ACTION_SIM_STATE_CHANGED with a simStatus of
INTENT_VALUE_ICC_LOADED a short while later.

Added some debug.

Change-Id: I8493fe14d4425f89144dda4bba129b4465fc41ac
parent fce79caf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment