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

Commit d3d31616 authored by Tom Hsu's avatar Tom Hsu Committed by Android (Google) Code Review
Browse files

Merge "[Settings] Fix problem that MobileNetworkActivity show wrong Info." into sc-dev

parents 23086519 01f43ff2
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -100,12 +100,11 @@ public class SubscriptionAnnotation {
            return;
        }

        mIsExisted = simSlotIndex.contains(mSubInfo.getSimSlotIndex());
        mIsActive = activeSimSlotIndexList.contains(mSubInfo.getSimSlotIndex());
        if (mIsExisted) {
        mIsExisted = true;
        mIsActive = (mSubInfo.getSimSlotIndex() > SubscriptionManager.INVALID_SIM_SLOT_INDEX)
            && activeSimSlotIndexList.contains(mSubInfo.getSimSlotIndex());
        mIsAllowToDisplay = isDisplayAllowed(context);
    }
    }

    // the index provided during construction of Builder
    @Keep