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

Commit 49537043 authored by Robert Greenwalt's avatar Robert Greenwalt Committed by Android (Google) Code Review
Browse files

Merge "Fix the bug net.dns1.pid is same as net.dns2.pid"

parents e6e47f05 7b72ea71
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2179,8 +2179,9 @@ private NetworkStateTracker makeWimaxStateTracker() {
            String dnsString = dns.getHostAddress();
            if (changed || !dnsString.equals(SystemProperties.get("net.dns" + j + "." + pid))) {
                changed = true;
                SystemProperties.set("net.dns" + j++ + "." + pid, dns.getHostAddress());
                SystemProperties.set("net.dns" + j + "." + pid, dns.getHostAddress());
            }
            j++;
        }
        return changed;
    }