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

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

Merge "Check whether the NetworkScanRequest is null" am: c866efc6

am: c2f22c14

Change-Id: If8d2b6237881e5e51135bc7c1fdf53a0d40db480
parents 37b92514 c2f22c14
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) {