Merge "[Mainline] Migrate TextUtils#emptyIfNull" am: a4520fd260 am: 59452b2ad4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1550514 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ie90c6d0245703243f66a9bc2e4d0bf512b3e6339
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user