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

Skip to content
Commit 19d7578e authored by Malcolm Chen's avatar Malcolm Chen
Browse files

Make sure when only SIM is inserted in DSDS device, makes it default

1) Fix the bug that when eSIM is not inserted and propriatery pSIM
switches profile, we still ask user to select it as preferred SIM.
The expected behavior is it becomes default sub automatically.

2) Fix the bug that sometimes we don't ask user to re-select data sub.
when both pSIM and eSIM are present and pSIM is default data sub, if
eSIM switches profile we failed to ask user to re-select data sub.

3) Also, defined an enum to define primary sub change for better
readability.

Bug: 132111589
Test: unittest and manual tests
Change-Id: Ifb49dcab601fc74acc6251bd243044f415114a01
parent 377833f9
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