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

Commit c2f22c14 authored by yinxu's avatar yinxu Committed by android-build-merger
Browse files

Merge "Check whether the NetworkScanRequest is null"

am: c866efc6

Change-Id: I5baf3e73c04272abc973bd1b1c56a8368a4198b4
parents 95225360 c866efc6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -107,7 +107,7 @@ public final class NetworkScanRequestTracker {
    }

    private boolean isValidScan(NetworkScanRequestInfo nsri) {
        if (nsri.mRequest.specifiers == null) {
        if (nsri.mRequest == null || nsri.mRequest.specifiers == null) {
            return false;
        }
        if (nsri.mRequest.specifiers.length > NetworkScanRequest.MAX_RADIO_ACCESS_NETWORKS) {