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

Commit 7c9bc21b authored by yinxu's avatar yinxu
Browse files

Check whether the NetworkScanRequest is null

Bug: 70887471
Test: Basic telephony sanity
Change-Id: Icfe475446eff9ae1ad436747c028b68dcd326180
parent 67c73499
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) {