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

Commit 54c93ef7 authored by Jack Yu's avatar Jack Yu
Browse files

Fixed two icons shown after switching to single SIM

Fixed that subscription database not correctly initialized
after switching from dual SIM mode to single SIM mode.

Test: adb shell setprop persist.radio.multisim.config ssss && adb reboot
Test: Basic telephony functionality tests
Test: atest SubscriptionManagerServiceTest
Fix: 296190125
Fix: 289881824
Change-Id: I60aa5b7447d78dd927ac05acc78a9af9abae416e
parent 5c1f43a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -487,7 +487,7 @@ public class SubscriptionManagerService extends ISub.Stub {
                    @Override
                    public void onInitialized() {
                        log("Subscription database has been initialized.");
                        for (int phoneId = 0; phoneId < mTelephonyManager.getActiveModemCount()
                        for (int phoneId = 0; phoneId < mTelephonyManager.getSupportedModemCount()
                                ; phoneId++) {
                            markSubscriptionsInactive(phoneId);
                        }