Merge "[Settings] Fix problem that MobileNetworkActivity show wrong Info." into sc-dev
This commit is contained in:
@@ -100,11 +100,10 @@ public class SubscriptionAnnotation {
|
||||
return;
|
||||
}
|
||||
|
||||
mIsExisted = simSlotIndex.contains(mSubInfo.getSimSlotIndex());
|
||||
mIsActive = activeSimSlotIndexList.contains(mSubInfo.getSimSlotIndex());
|
||||
if (mIsExisted) {
|
||||
mIsAllowToDisplay = isDisplayAllowed(context);
|
||||
}
|
||||
mIsExisted = true;
|
||||
mIsActive = (mSubInfo.getSimSlotIndex() > SubscriptionManager.INVALID_SIM_SLOT_INDEX)
|
||||
&& activeSimSlotIndexList.contains(mSubInfo.getSimSlotIndex());
|
||||
mIsAllowToDisplay = isDisplayAllowed(context);
|
||||
}
|
||||
|
||||
// the index provided during construction of Builder
|
||||
|
Reference in New Issue
Block a user