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

Commit c9510033 authored by Xiangyu/Malcolm Chen's avatar Xiangyu/Malcolm Chen Committed by Android (Google) Code Review
Browse files

Merge "Fix bug of default data / voice / sms sub is cleared unexpectedly."

parents f6ca5c23 b7df4e0b
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1318,9 +1318,6 @@ public class SubscriptionController extends ISub.Stub {
        refreshCachedActiveSubscriptionInfoList();

        sSlotIndexToSubIds.remove(slotIndex);

        // update default subId
        clearDefaultsForInactiveSubIds();
    }

    /**
+3 −0
Original line number Diff line number Diff line
@@ -589,6 +589,9 @@ public class SubscriptionInfoUpdater extends Handler {
            }
        }

        // update default subId
        SubscriptionController.getInstance().clearDefaultsForInactiveSubIds();

        SubscriptionController.getInstance().notifySubscriptionInfoChanged();
        logd("updateSubscriptionInfoByIccId:- SubscriptionInfo update complete");
    }