Fix the wrong comparison am: 1bcba3d23f
am: 9d9d06ab24
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/15403429 Change-Id: I351acbe3d524aa58535001b5bd5101487625c11a
This commit is contained in:
@@ -327,10 +327,10 @@ public class NetworkSelectSettings extends DashboardFragment {
|
||||
Class className = cellInfo.getClass();
|
||||
|
||||
if (aggregatedList.stream().anyMatch(
|
||||
i -> {
|
||||
return (CellInfoUtil.getNetworkTitle(i.getCellIdentity(),
|
||||
CellInfoUtil.getCellIdentityMccMnc(i.getCellIdentity())) == plmn)
|
||||
&& i.getClass().equals(className);
|
||||
item -> {
|
||||
String itemPlmn = CellInfoUtil.getNetworkTitle(item.getCellIdentity(),
|
||||
CellInfoUtil.getCellIdentityMccMnc(item.getCellIdentity()));
|
||||
return itemPlmn.equals(plmn) && item.getClass().equals(className);
|
||||
})) {
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user