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

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

am d8bbf999: Merge "Fix badness from proxy refactoring."

* commit 'd8bbf9994979e17c18f65b4e4ae3231187f1e3a5':
  Fix badness from proxy refactoring.
parents ff4e4860 c241db85
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -278,8 +278,10 @@ public final class Proxy {
            host = p.getHost();
            port = Integer.toString(p.getPort());
            exclList = p.getExclusionListAsString();
            if (p.getPacFileUrl() != null) {
                pacFileUrl = p.getPacFileUrl().toString();
            }
        }
        setHttpProxySystemProperty(host, port, exclList, pacFileUrl);
    }

+4 −2
Original line number Diff line number Diff line
@@ -1327,13 +1327,15 @@ public final class ActivityManagerService extends ActivityManagerNative
                String host = "";
                String port = "";
                String exclList = "";
                String pacFileUrl = null;
                String pacFileUrl = "";
                if (proxy != null) {
                    host = proxy.getHost();
                    port = Integer.toString(proxy.getPort());
                    exclList = proxy.getExclusionListAsString();
                    if (proxy.getPacFileUrl() != null) {
                        pacFileUrl = proxy.getPacFileUrl().toString();
                    }
                }
                synchronized (ActivityManagerService.this) {
                    for (int i = mLruProcesses.size() - 1 ; i >= 0 ; i--) {
                        ProcessRecord r = mLruProcesses.get(i);