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

Commit 4a077b46 authored by Jordan Liu's avatar Jordan Liu Committed by android-build-merger
Browse files

Merge "Remove dead code"

am: f8cc5134

Change-Id: I6e03e91175e1e5a3de486e3f9978130f21e769d3
parents a1bad780 f8cc5134
Loading
Loading
Loading
Loading
+0 −18
Original line number Diff line number Diff line
@@ -642,8 +642,6 @@ public class SubscriptionInfoUpdater extends Handler {
        }

        //check if the inserted SIM is new SIM
        int nNewCardCount = 0;
        int nNewSimStatus = 0;
        for (int i = 0; i < PROJECT_SIM_NUM; i++) {
            if (mInsertSimState[i] == SIM_NOT_INSERT) {
                logd("updateSubscriptionInfoByIccId: No SIM inserted in slot " + i + " this time");
@@ -658,22 +656,6 @@ public class SubscriptionInfoUpdater extends Handler {
                    mSubscriptionManager.addSubscriptionInfoRecord(mIccId[i], i);
                }
                if (isNewSim(mIccId[i], decIccId[i], oldIccId)) {
                    nNewCardCount++;
                    switch (i) {
                        case PhoneConstants.SUB1:
                            nNewSimStatus |= STATUS_SIM1_INSERTED;
                            break;
                        case PhoneConstants.SUB2:
                            nNewSimStatus |= STATUS_SIM2_INSERTED;
                            break;
                        case PhoneConstants.SUB3:
                            nNewSimStatus |= STATUS_SIM3_INSERTED;
                            break;
                        //case PhoneConstants.SUB3:
                        //    nNewSimStatus |= STATUS_SIM4_INSERTED;
                        //    break;
                    }

                    mInsertSimState[i] = SIM_NEW;
                }
            }