From ea3a8b40346e7b188ebefd2a4c992b62160d09c6 Mon Sep 17 00:00:00 2001 From: Eric House Date: Wed, 18 Jan 2017 19:30:03 -0800 Subject: [PATCH] include relay hostname in debug conn status --- .../main/java/org/eehouse/android/xw4/ConnStatusHandler.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/ConnStatusHandler.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/ConnStatusHandler.java index 79404422c..0be93dd72 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/ConnStatusHandler.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/ConnStatusHandler.java @@ -566,7 +566,9 @@ public class ConnStatusHandler { if ( BuildConfig.DEBUG ) { switch ( typ ) { case COMMS_CONN_RELAY: - result = String.format( "(DevID: %d) ", DevID.getRelayDevIDInt(context) ); + result = String.format( "(DevID: %d; host: %s) ", + DevID.getRelayDevIDInt(context), + XWPrefs.getDefaultRelayHost(context) ); break; case COMMS_CONN_P2P: result = WiDirService.formatNetStateInfo();