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

Commit b46eb904 authored by Jason Monk's avatar Jason Monk Committed by Android Git Automerger
Browse files

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

* commit 'c09e5911':
  Fix error when PAC set rapidly
parents c5f742d4 c09e5911
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -162,7 +162,7 @@ public class PacManager {
     */
    public synchronized boolean setCurrentProxyScriptUrl(ProxyProperties proxy) {
        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.
                return false;
            }