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

Commit 91bce2ab authored by Shishir Agrawal's avatar Shishir Agrawal
Browse files

NPE: DcTracker.isApnSupported should return false on null input.

Bug: 18238326
Change-Id: I4ceb4855c7c2e1dbfde123512690cd845e8c74a3
parent d578d868
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -269,6 +269,10 @@ public final class DcTracker extends DcTrackerBase {

    @Override
    public boolean isApnSupported(String name) {
        if (name == null) {
            loge("isApnSupported: name=null");
            return false;
        }
        ApnContext apnContext = mApnContexts.get(name);
        if (apnContext == null) {
            loge("Request for unsupported mobile name: " + name);