Loading core/java/android/net/Proxy.java +3 −1 Original line number Diff line number Diff line Loading @@ -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); } Loading services/core/java/com/android/server/am/ActivityManagerService.java +4 −2 Original line number Diff line number Diff line Loading @@ -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); Loading Loading
core/java/android/net/Proxy.java +3 −1 Original line number Diff line number Diff line Loading @@ -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); } Loading
services/core/java/com/android/server/am/ActivityManagerService.java +4 −2 Original line number Diff line number Diff line Loading @@ -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); Loading