Loading services/core/java/com/android/server/connectivity/NetworkDiagnostics.java +1 −1 Original line number Diff line number Diff line Loading @@ -686,7 +686,7 @@ public class NetworkDiagnostics { mHostname = hostname; mMeasurement.description = "DNS TLS dst{" + mTarget.getHostAddress() + "} hostname{" + TextUtils.emptyIfNull(mHostname) + "}"; + (mHostname == null ? "" : mHostname) + "}"; } private SSLSocket setupSSLSocket() throws IOException { Loading Loading
services/core/java/com/android/server/connectivity/NetworkDiagnostics.java +1 −1 Original line number Diff line number Diff line Loading @@ -686,7 +686,7 @@ public class NetworkDiagnostics { mHostname = hostname; mMeasurement.description = "DNS TLS dst{" + mTarget.getHostAddress() + "} hostname{" + TextUtils.emptyIfNull(mHostname) + "}"; + (mHostname == null ? "" : mHostname) + "}"; } private SSLSocket setupSSLSocket() throws IOException { Loading