| Index: net/android/java/src/org/chromium/net/ProxyChangeListener.java
|
| diff --git a/net/android/java/src/org/chromium/net/ProxyChangeListener.java b/net/android/java/src/org/chromium/net/ProxyChangeListener.java
|
| index be09be4e55849c1f322c69758090c695459bf3be..68cc329319e4d34f96810e41cac54795b8173b5a 100644
|
| --- a/net/android/java/src/org/chromium/net/ProxyChangeListener.java
|
| +++ b/net/android/java/src/org/chromium/net/ProxyChangeListener.java
|
| @@ -142,18 +142,16 @@ public class ProxyChangeListener {
|
| }
|
| // TODO(xunjieli): rewrite this once the API is public.
|
| if (Build.VERSION.SDK_INT == Build.VERSION_CODES.KITKAT) {
|
| - Method getPacFileUrlMethod =
|
| - cls.getDeclaredMethod(getPacFileUrl);
|
| + Method getPacFileUrlMethod = cls.getDeclaredMethod(getPacFileUrl);
|
| String pacFileUrl = (String) getPacFileUrlMethod.invoke(props);
|
| if (!TextUtils.isEmpty(pacFileUrl)) {
|
| - return new ProxyConfig(host, port, pacFileUrl, exclusionList);
|
| + return new ProxyConfig(host, port, pacFileUrl, exclusionList);
|
| }
|
| } else if (Build.VERSION.SDK_INT > Build.VERSION_CODES.KITKAT) {
|
| - Method getPacFileUrlMethod =
|
| - cls.getDeclaredMethod(getPacFileUrl);
|
| + Method getPacFileUrlMethod = cls.getDeclaredMethod(getPacFileUrl);
|
| Uri pacFileUrl = (Uri) getPacFileUrlMethod.invoke(props);
|
| if (!Uri.EMPTY.equals(pacFileUrl)) {
|
| - return new ProxyConfig(host, port, pacFileUrl.toString(), exclusionList);
|
| + return new ProxyConfig(host, port, pacFileUrl.toString(), exclusionList);
|
| }
|
| }
|
| return new ProxyConfig(host, port, null, exclusionList);
|
|
|