Commit 61d975ca authored by Laís Minchillo's avatar Laís Minchillo Committed by Commit Bot

[aw] Log ProxyInfo

Bug: 1122903
Change-Id: Ia323b20dc976b38cf5c513d7147bf3b2fbe11b22
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2437814
Commit-Queue: Laís Minchillo <laisminchillo@chromium.org>
Commit-Queue: Matt Menke <mmenke@chromium.org>
Auto-Submit: Laís Minchillo <laisminchillo@chromium.org>
Reviewed-by: default avatarMatt Menke <mmenke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#811703}
parent b998181a
...@@ -18,10 +18,10 @@ import android.os.Bundle; ...@@ -18,10 +18,10 @@ import android.os.Bundle;
import android.os.Handler; import android.os.Handler;
import android.os.Looper; import android.os.Looper;
import android.text.TextUtils; import android.text.TextUtils;
import android.util.Log;
import org.chromium.base.BuildConfig; import org.chromium.base.BuildConfig;
import org.chromium.base.ContextUtils; import org.chromium.base.ContextUtils;
import org.chromium.base.Log;
import org.chromium.base.annotations.CalledByNative; import org.chromium.base.annotations.CalledByNative;
import org.chromium.base.annotations.JNINamespace; import org.chromium.base.annotations.JNINamespace;
import org.chromium.base.annotations.NativeClassQualifiedName; import org.chromium.base.annotations.NativeClassQualifiedName;
...@@ -233,6 +233,9 @@ public class ProxyChangeListener { ...@@ -233,6 +233,9 @@ public class ProxyChangeListener {
return ProxyConfig.DIRECT; return ProxyConfig.DIRECT;
} }
// Temporary logging to debug crbug.com/1122903
Log.i(TAG, "ProxyInfo: " + proxyInfo.toString());
if (Build.VERSION.SDK_INT == Build.VERSION_CODES.Q if (Build.VERSION.SDK_INT == Build.VERSION_CODES.Q
&& proxyInfo.getHost().equals("localhost") && proxyInfo.getPort() == -1) { && proxyInfo.getHost().equals("localhost") && proxyInfo.getPort() == -1) {
// There's a bug in Android Q's PAC support. If ConnectivityManager // There's a bug in Android Q's PAC support. If ConnectivityManager
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment