Merge "Remove ProxyInfo(String) and update callers to use ProxyInfo(Uri)"
This commit is contained in:
commit
28ced6a6ca
1 changed files with 2 additions and 1 deletions
|
|
@ -24,6 +24,7 @@ import android.net.NetworkUtils;
|
|||
import android.net.ProxyInfo;
|
||||
import android.net.RouteInfo;
|
||||
import android.net.StaticIpConfiguration;
|
||||
import android.net.Uri;
|
||||
import android.util.ArrayMap;
|
||||
import android.util.Log;
|
||||
import android.util.SparseArray;
|
||||
|
|
@ -372,7 +373,7 @@ public class IpConfigStore {
|
|||
config.httpProxy = proxyInfo;
|
||||
break;
|
||||
case PAC:
|
||||
ProxyInfo proxyPacProperties = new ProxyInfo(pacFileUrl);
|
||||
ProxyInfo proxyPacProperties = new ProxyInfo(Uri.parse(pacFileUrl));
|
||||
config.proxySettings = proxySettings;
|
||||
config.httpProxy = proxyPacProperties;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue