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:
SongFerngWang
2021-07-28 17:13:31 +00:00
committed by Automerger Merge Worker
2 changed files with 8 additions and 8 deletions

View File

@@ -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;
}