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

Skip to content
Commit cec0675c authored by Amit Mahajan's avatar Amit Mahajan
Browse files

Update subId on sim state READY.

This CL also reverts recent fixes related to faking NOT_READY
state on SIM_REFRESH. It turns out that terminal NOT_READY is
not the correct state during profile switch. And non-terminal
is not correct at profile disable time, because otherwise real
terminal NOT_READY ends up getting ignored. Conclusion is that
NOT_READY should not be faked on SIM_REFRESH.

Earlier issues are being fixed by updating subId on READY.
In R, this was not an issue because subId was updated on LOADED
'unconditionally'. In S, with aosp/1285363 subId is not always
updated. This CL removes an if check so that it is always updated
on READY.

Test: manually verified eSIM disable and eSIM profile switch
Test: atest SubscriptionInfoUpdaterTest
Test: atest UiccControllerTest
Bug: 195092083
Change-Id: I7d6d6d9e666b3eb1fda6a4de76e42df0e85d0bf6
parent a0d82996
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment