Merge "[Settings] Fix problem that MobileNetworkActivity show wrong Info." into sc-dev am: d3d3161695
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15372364 Change-Id: Ie33f9ae9cb7dfe13562b67010a8b56cf8941a288
This commit is contained in:
@@ -100,12 +100,11 @@ public class SubscriptionAnnotation {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
mIsExisted = simSlotIndex.contains(mSubInfo.getSimSlotIndex());
|
mIsExisted = true;
|
||||||
mIsActive = activeSimSlotIndexList.contains(mSubInfo.getSimSlotIndex());
|
mIsActive = (mSubInfo.getSimSlotIndex() > SubscriptionManager.INVALID_SIM_SLOT_INDEX)
|
||||||
if (mIsExisted) {
|
&& activeSimSlotIndexList.contains(mSubInfo.getSimSlotIndex());
|
||||||
mIsAllowToDisplay = isDisplayAllowed(context);
|
mIsAllowToDisplay = isDisplayAllowed(context);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// the index provided during construction of Builder
|
// the index provided during construction of Builder
|
||||||
@Keep
|
@Keep
|
||||||
|
Reference in New Issue
Block a user