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

Commit c5051434 authored by Brad Ebinger's avatar Brad Ebinger Committed by Android (Google) Code Review
Browse files

Merge "Temporarily remove approved PLMN check" into qt-dev

parents 028fc767 afa67489
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -194,11 +194,12 @@ public final class NetworkScanRequestTracker {

        if (result != null) {
            if (what == TelephonyScanManager.CALLBACK_RESTRICTED_SCAN_RESULTS) {
                List<String> allowedMccMncs =
                        getAllowedMccMncsForLocationRestrictedScan(nsri.mPhone.getContext());
                //List<String> allowedMccMncs =
                //        getAllowedMccMncsForLocationRestrictedScan(nsri.mPhone.getContext());

                result = result.stream().map(CellInfo::sanitizeLocationInfo)
                        .filter(ci -> doesCellInfoCorrespondToKnownMccMnc(ci, allowedMccMncs))
                        // STOPSHIP Revisit PLMN check (b/130253962).
                        //.filter(ci -> doesCellInfoCorrespondToKnownMccMnc(ci, allowedMccMncs))
                        .collect(Collectors.toList());
            }