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

Commit c09e5911 authored by Jason Monk's avatar Jason Monk Committed by Android (Google) Code Review
Browse files

Merge "Fix error when PAC set rapidly" into klp-dev

parents 94c0057d 90760c8f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -162,7 +162,7 @@ public class PacManager {
     */
     */
    public synchronized boolean setCurrentProxyScriptUrl(ProxyProperties proxy) {
    public synchronized boolean setCurrentProxyScriptUrl(ProxyProperties proxy) {
        if (!TextUtils.isEmpty(proxy.getPacFileUrl())) {
        if (!TextUtils.isEmpty(proxy.getPacFileUrl())) {
            if (proxy.getPacFileUrl().equals(mPacUrl)) {
            if (proxy.getPacFileUrl().equals(mPacUrl) && (proxy.getPort() > 0)) {
                // Allow to send broadcast, nothing to do.
                // Allow to send broadcast, nothing to do.
                return false;
                return false;
            }
            }