Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not pass Proxy.NoProxy so that the system proxy settings are respe…
…cted (#3060) Do not pass Proxy.NoProxy to respect system proxy. As documented in https://developer.android.com/reference/java/net/URL.html#openConnection(java.net.Proxy) Passing `Proxy.NoProxy` causes the connection to ignore all proxies, including the system one. This is not the intended outcome of the proxy code here, so make sure that whenever `GetJavaProxy` returns `Proxy.NoProxy` we do the right thing and call the parameterless overload of `URL.OpenConnection`.
- Loading branch information